Changeset 690 for trunk/grails-app/conf


Ignore:
Timestamp:
Jul 21, 2010, 5:37:13 PM (11 years ago)
Author:
keesvb
Message:

workaround for adding assays (scaffolded controllers), in order to be able to couple the SAM module

File:
1 edited

Legend:

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

    r662 r690  
    495495                        type: AssayType.SIMPLE_ASSAY,
    496496                        platform: 'clinical measurements',
    497                         url: 'http://sam.dbnp.org'
     497                        url: 'http://localhost:8182/sam'
    498498                ).with { if (!validate()) { errors.each { println it} } else save()}
    499499
     
    502502                        module: clinicalModule,
    503503                        externalAssayId: 0
    504                 ).with { if (!validate()) { errors.each { println it} } else save()}
     504                )
    505505
    506506                humanStudy.samples*.each {
     
    514514                mouseStudy.addToAssays(lipidAssayRef);
    515515                mouseStudy.save()
     516
     517                lipidAssayRef.with { if (!validate()) { errors.each { println it} } else save()}
     518
    516519        }
    517520
Note: See TracChangeset for help on using the changeset viewer.