Changeset 4820


Ignore:
Timestamp:
Mar 18, 2009, 2:18:46 PM (13 years ago)
Author:
Nicklas Nordborg
Message:

References #1238: Check performance of BioAssaySetExporter?

Fixes a NullPointerException?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plugins/core/net/sf/basedb/plugins/BioAssaySetExporter.java

    r4810 r4820  
    352352    checkInterrupted();
    353353    if (progress != null) progress.display(10, "Loading reporter information...");
    354     Map<Integer, String> reporterLine = getBaseFileReporterFields(dc, bas.getPositionData(),
     354    Map<Integer, String> reporterLine = getBaseFileReporterFields(dc, bas, bas.getPositionData(),
    355355        qis, reporterFields, mergeReporters);
    356356    checkInterrupted();
     
    491491    checkInterrupted();
    492492    if (progress != null) progress.display(10, "Loading reporter information...");
    493     Map<Integer, String> reporterLine = getBaseFileReporterFields(dc, bas.getPositionData(),
     493    Map<Integer, String> reporterLine = getBaseFileReporterFields(dc, bas, bas.getPositionData(),
    494494        qis, reporterFields, mergeReporters);
    495495    for (BioAssay ba : assays)
     
    10341034  }
    10351035
    1036   private Map<Integer, String> getBaseFileReporterFields(DbControl dc, DynamicPositionQuery query,
     1036  private Map<Integer, String> getBaseFileReporterFields(DbControl dc, BioAssaySet bas,
     1037      DynamicPositionQuery query,
    10371038      Map<String, QueryItem> queryMap, List<String> reporterFields, boolean mergeOnReporters)
    10381039    throws SQLException
     
    14411442    try
    14421443    {
    1443       bas = (BioAssaySet)job.getValue("bioAssaySet");
     1444      BioAssaySet bas = (BioAssaySet)job.getValue("bioAssaySet");
    14441445      bas = BioAssaySet.getById(dc, bas.getId());
    14451446      boolean attachToBioAssaySet = Boolean.TRUE.equals(job.getValue("attachToBioAssaySet"));
Note: See TracChangeset for help on using the changeset viewer.