Ignore:
Timestamp:
Nov 25, 2010, 5:33:23 PM (12 years ago)
Author:
m.s.vanvliet@…
Message:

Syncs all samples for assays on load Pilot/Show?...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/nmc/PilotController.groovy

    r1092 r1204  
    124124                   //add all samples to the assay when not there yet!
    125125                   studyInstance.assays.each { assay ->
    126                            if (assay.samples.size() <= 0){
     126                           //if (assay.samples.size() <= 0){ // needs improving!!! too much overhead, okay for pilot
    127127                                   studyInstance.samples.each { sample ->
    128128                                           log.info("ADD THE DIRTY WAY!!!")
     
    130130                                   }
    131131                                   assay.save()
    132                            }                       
     132                           //}                     
    133133                   }
    134134                   
Note: See TracChangeset for help on using the changeset viewer.