Ignore:
Timestamp:
Apr 7, 2011, 1:24:41 PM (8 years ago)
Author:
robert@…
Message:

Fixed bug in updating samples and improved rest.getQueryableFieldData to return all fields if no fields are given.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/nl/tno/massSequencing/SampleExcelService.groovy

    r44 r46  
    222222                        // a problem
    223223                        // TODO: Fix problem with multiple assays
    224                         AssaySample assaySample = assaySamples.find { it.sample.id == Sample.findByName( sampleName )?.id };
    225                         println "Row: " + i + " - Sample name: " + sampleName + " - " + assaySample
     224                        AssaySample assaySample = assaySamples.find {
     225                                it.sample.name == sampleName
     226                        };
    226227
    227228                        // If no assaysample is found, add this row to the failed-row list
Note: See TracChangeset for help on using the changeset viewer.