Changeset 464 for trunk/grails-app
- Timestamp:
- May 25, 2010, 4:52:24 PM (13 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r461 r464 393 393 .with { if (!validate()) { errors.each { println it} } else save()} 394 394 395 mouseStudy.setFieldValue('Description', "C57Bl/6 mice were fed a high fat (45 en%) or low fat (10 en%) diet after a four week run-in on low fat diet. After 1 week 10 mice that received a low fat diet were given an IP leptin challenge and 10 mice of the low-fat group received placebo injections. The same procedure was performed with mice that were fed the high-fat diet. After 4 weeks the procedure was repeated. In total 80 mice were culled." )395 mouseStudy.setFieldValue('Description', "C57Bl/6 mice were fed a high fat (45 en%) or low fat (10 en%) diet after a four week run-in on low fat diet.");// After 1 week 10 mice that received a low fat diet were given an IP leptin challenge and 10 mice of the low-fat group received placebo injections. The same procedure was performed with mice that were fed the high-fat diet. After 4 weeks the procedure was repeated. In total 80 mice were culled." ) 396 396 mouseStudy.save() 397 397 -
trunk/grails-app/domain/dbnp/studycapturing/TemplateField.groovy
r408 r464 20 20 boolean preferredIdentifier 21 21 22 static hasMany = [ 22 static hasMany = [ ve 23 23 listEntries : TemplateFieldListItem, // to store the entries to choose from when the type is 'item from predefined list' 24 24 ontologies : Ontology // to store the ontologies to choose from when the type is 'ontology term' … … 34 34 35 35 static mapping = { 36 // TODO: this doesn't seem to work in Postgres 36 37 comment type: 'text' 37 38 }
Note: See TracChangeset
for help on using the changeset viewer.