Changeset 442 for trunk/grails-app/conf


Ignore:
Timestamp:
May 19, 2010, 6:12:42 PM (13 years ago)
Author:
roberth
Message:

Updated studies list and added institute and department properties to person affiliations

File:
1 edited

Legend:

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

    r424 r442  
    9090                        println ".adding persons, roles and affiliations"
    9191                        def affiliation1 = new PersonAffiliation(
    92                             name: "Science Institute NYC"
     92                            institute: "Science Institute NYC",
     93                            department: "Department of Mathematics"
    9394                        ).save();
    9495                        def affiliation2 = new PersonAffiliation(
    95                             name: "InfoStats GmbH, Hamburg"
     96                            institute: "InfoStats GmbH, Hamburg",
     97                            department: "Life Sciences"
    9698                        ).save();
    9799                        def role1 = new PersonRole(
     
    514516                                // Add subjects and samples and compose EventGroups
    515517                                def x=1
    516                                 80.times {
     518                                20.times {
    517519                                        def currentSubject = new Subject(
    518520                                                name: "A" + x++,
     
    672674                                        ).with { if (!validate()) { errors.each { println it} } else save()}
    673675                                }
    674 
     676                                */
    675677                                // Add assay to study capture module
    676678
     
    685687                                        name: 'Lipid profiling',
    686688                                        module: clinicalModule,
    687                                         externalAssayId: lipidAssayInstance.id
     689                                        externalAssayId: 0
    688690                                ).with { if (!validate()) { errors.each { println it} } else save()}
    689691
     
    695697                                humanStudy.addToAssays(lipidAssayRef);
    696698                                humanStudy.save()
    697                                 */
    698699                               
    699700                        }
Note: See TracChangeset for help on using the changeset viewer.