Changeset 442 for trunk/grails-app/conf
- Timestamp:
- May 19, 2010, 6:12:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r424 r442 90 90 println ".adding persons, roles and affiliations" 91 91 def affiliation1 = new PersonAffiliation( 92 name: "Science Institute NYC" 92 institute: "Science Institute NYC", 93 department: "Department of Mathematics" 93 94 ).save(); 94 95 def affiliation2 = new PersonAffiliation( 95 name: "InfoStats GmbH, Hamburg" 96 institute: "InfoStats GmbH, Hamburg", 97 department: "Life Sciences" 96 98 ).save(); 97 99 def role1 = new PersonRole( … … 514 516 // Add subjects and samples and compose EventGroups 515 517 def x=1 516 80.times {518 20.times { 517 519 def currentSubject = new Subject( 518 520 name: "A" + x++, … … 672 674 ).with { if (!validate()) { errors.each { println it} } else save()} 673 675 } 674 676 */ 675 677 // Add assay to study capture module 676 678 … … 685 687 name: 'Lipid profiling', 686 688 module: clinicalModule, 687 externalAssayId: lipidAssayInstance.id689 externalAssayId: 0 688 690 ).with { if (!validate()) { errors.each { println it} } else save()} 689 691 … … 695 697 humanStudy.addToAssays(lipidAssayRef); 696 698 humanStudy.save() 697 */698 699 699 700 }
Note: See TracChangeset
for help on using the changeset viewer.