Show
Ignore:
Timestamp:
10-02-10 16:21:55 (4 years ago)
Author:
keesvb
Message:

clarified clean data feature example in sandbox

Files:
1 modified

Legend:

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

    r187 r188  
    3838 
    3939                // Demonstration of querying mechanism 
    40                 println clinicalDataLayerService.getFeaturesQuantitative(1) 
    41                 clinicalDataLayerService.getDataQuantitative('LDL',1,['A1_B','A3_B'] as String[]) 
     40                println "Features available for first assay of PPSH study: " + clinicalDataLayerService.getFeaturesQuantitative(Study.findByCode("PPSH").assays*.id[0]) 
     41                println "LDL feature value for two subjects: " + clinicalDataLayerService.getDataQuantitative('LDL',1,['A1_B','A3_B'] as String[]) 
    4242 
    4343                // Specify which variables we want to be available in the controller (implicit return statement)