Changeset 513 for trunk/grails-app/conf
- Timestamp:
- Jun 3, 2010, 8:12:06 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r497 r513 198 198 .addToFields(new TemplateField(name: 'Lab id',type: TemplateFieldType.STRING,comment:'In which lab was the study performed; indicate the roomnumber.')) 199 199 .addToFields(new TemplateField(name: 'Institute',type: TemplateFieldType.STRING,comment:'In which institute was the study performed; indicate the full address information (to be replaced by persons-affiliations?)')) 200 //commented out because of bug #84:.addToFields(new TemplateField(name: 'Study protocol',type: TemplateFieldType.FILE,comment:'Optionally attach a file in which the protocol in the study is described')) 200 201 .with { if (!validate()) { errors.each { println it} } else save()} 201 202 … … 368 369 name: 'Liver extraction', 369 370 description: 'Liver sampling for transcriptomics arrays', 370 entity: dbnp.studycapturing.SamplingEvent, 371 sampleTemplates: [humanSampleTemplate]) 371 entity: dbnp.studycapturing.SamplingEvent) 372 372 .addToFields(samplingProtocolField) 373 373 .addToFields(new TemplateField( … … 380 380 name: 'Blood extraction', 381 381 description: 'Blood extraction targeted at lipid assays', 382 entity: dbnp.studycapturing.SamplingEvent, 383 sampleTemplates: [humanBloodSampleTemplate]) 382 entity: dbnp.studycapturing.SamplingEvent) 384 383 .addToFields(samplingProtocolField) 385 384 .addToFields(new TemplateField( … … 650 649 material: bloodTerm, 651 650 parentSubject: currentSubject, 652 parentEvent: bloodSamplingEvent, 653 template: humanBloodSampleTemplate); 651 parentEvent: bloodSamplingEvent); 654 652 655 653 humanStudy.addToSubjects(currentSubject).addToSamples(currentSample).with { if (!validate()) { errors.each { println it} } else save()}
Note: See TracChangeset
for help on using the changeset viewer.