Changeset 4538


Ignore:
Timestamp:
Dec 17, 2013, 1:54:56 PM (9 years ago)
Author:
Fredrik Levander
Message:

Refs #820. Removed unused code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugin/src/org/proteios/plugins/PrideExportPlugin.java

    r4537 r4538  
    12541254    if (gelExternalIdStr != null && localSampleIdStr == null)
    12551255    {
    1256       boolean fdr = true;
    1257       if (fdr)
    1258       {
    1259         // Restrict query to hits with combined FDR < cutoff
    1260         log.info("Peptide false discovery rate upper cutoff = " + cutoff);
    1261         hitQuery.restrict(Restrictions.lteq(
    1262           Hql.property("combinedFDR"),
    1263           Expressions.aFloat((float) cutoff)));
    1264         hitQuery.restrict(Restrictions.eq(
    1265           Hql.property("primaryCombined"),
    1266           Expressions.parameter("primaryCombined")));
    1267         hitQuery.setParameter("primaryCombined", true, null);
    1268       }
    1269       else
    1270       {
    1271         log.info("Peptide combined FDR upper cutoff = " + cutoff);
    1272         hitQuery.restrict(Restrictions.lteq(
    1273           Hql.property("combinedFDR"),
    1274           Expressions.aFloat((float) cutoff)));
    1275       }
     1256      // Restrict query to hits with combined FDR < cutoff
     1257      log.info("Peptide false discovery rate upper cutoff = " + cutoff);
     1258      hitQuery.restrict(Restrictions.lteq(
     1259        Hql.property("combinedFDR"),
     1260        Expressions.aFloat((float) cutoff)));
     1261      hitQuery.restrict(Restrictions.eq(
     1262        Hql.property("primaryCombined"),
     1263        Expressions.parameter("primaryCombined")));
     1264      hitQuery.setParameter("primaryCombined", true, null);
    12761265    }
    12771266    //
Note: See TracChangeset for help on using the changeset viewer.