Changeset 1536


Ignore:
Timestamp:
Feb 15, 2007, 4:58:57 PM (14 years ago)
Author:
fredrik
Message:

Bug fix: The protein hits report was filtered on evalues, even if that option was not choosen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/proteios/query/ProteinHitsReportQuery.java

    r1533 r1536  
    188188        if (getCutOff() != null)
    189189        {
    190           query_string += " and mi.polyPeptide.identificationHypothesis.e_value<" + Double
    191             .toString(this.getCutOff());
     190          query_string += " and mi.polyPeptide.identificationHypothesis.e_value<" + this.getCutOff().toString();
     191           
    192192        }
    193193        foundproteins = false;
     
    751751  public void setCutOff(Double cutOff)
    752752  {
    753     this.cutOff = cutOff.floatValue();
     753    this.cutOff = cutOff;
    754754  }
    755755
     
    757757  public Double getCutOff()
    758758  {
    759     return new Double(cutOff);
     759    return cutOff;
    760760  }
    761761
     
    871871  private String reverseText = "";
    872872  private String scoreFilter;
    873   private double cutOff;
     873  private Double cutOff=null;
    874874  private boolean cutOffAbove;
    875875  // private int hitsPerGelItem = 0;
Note: See TracChangeset for help on using the changeset viewer.