- Timestamp:
- Jun 3, 2010, 8:12:06 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/application.properties
r496 r513 9 9 app.name=gscf 10 10 app.servlet.version=2.4 11 app.version=0.2. 211 app.version=0.2.3 12 12 plugins.crypto=2.0 13 13 plugins.db-util=0.4 -
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()} -
trunk/grails-app/domain/dbnp/studycapturing/Template.groovy
r496 r513 17 17 //nimble.User owner 18 18 List fields 19 static hasMany = [fields: TemplateField, 20 sampleTemplates: Template] // only applicable when entity=SamplingEvent, 21 // for storing which Sample (template)s result from a SamplingEvent (template) 19 static hasMany = [fields: TemplateField] 22 20 23 21 static constraints = {
Note: See TracChangeset
for help on using the changeset viewer.