Ignore:
Timestamp:
Feb 10, 2010, 4:21:55 PM (7 years ago)
Author:
keesvb
Message:

clarified clean data feature example in sandbox

File:
1 edited

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)
Note: See TracChangeset for help on using the changeset viewer.