Changeset 65 for trunk


Ignore:
Timestamp:
Jun 14, 2011, 10:23:48 AM (8 years ago)
Author:
robert@…
Message:

Fixed problems with number of sequences after trashing samples

File:
1 edited

Legend:

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

    r29 r65  
    207207
    208208                                // Create dummy assay sample
    209                                 AssaySample dummyAssaySample = new AssaySample( assay: dummyAssay, sample: dummySample );
     209                                AssaySample dummyAssaySample = new AssaySample( assay: dummyAssay, sample: dummySample, numSequences: assaySample.numSequences );
    210210
    211211                                dummyAssay.addToAssaySamples( dummyAssaySample );
     
    272272
    273273                                // Create dummy assay sample
    274                                 AssaySample dummyAssaySample = new AssaySample( assay: dummyAssay, sample: dummySample );
     274                                AssaySample dummyAssaySample = new AssaySample( assay: dummyAssay, sample: dummySample, numSequences: assaySample.numSequences );
    275275
    276276                                dummyAssay.addToAssaySamples( dummyAssaySample );
     
    327327
    328328                   // Create dummy assay sample
    329                    AssaySample dummyAssaySample = new AssaySample( assay: dummyAssay, sample: dummySample );
     329                   AssaySample dummyAssaySample = new AssaySample( assay: dummyAssay, sample: dummySample, numSequences: assaySample.numSequences );
    330330
    331331                   dummyAssay.addToAssaySamples( dummyAssaySample );
Note: See TracChangeset for help on using the changeset viewer.