Changeset 329


Ignore:
Timestamp:
Apr 7, 2010, 2:03:10 PM (9 years ago)
Author:
tabma
Message:
  • added Human study to Bootstrap for testing with importer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/BootStrap.groovy

    r290 r329  
    300300                        ).with { if (!validate()) { errors.each { println it} } else save()}
    301301
     302                        def exampleHumanStudy = new Study(
     303                                template: humanTemplate,
     304                                title:"Human example template",
     305                                code:"Human example code",
     306                                researchQuestion:"Leptin etc.",
     307                                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.",
     308                                ecCode:"2007117.c",
     309                                startDate: Date.parse('yyyy-MM-dd','2007-12-11')
     310                        ).with { if (!validate()) { errors.each { println it} } else save()}
     311
    302312                        def evLF = new Event(
    303313                                startTime: Date.parse('yyyy-MM-dd','2008-01-07'),
Note: See TracChangeset for help on using the changeset viewer.