Changeset 189 for trunk/grails-app/conf


Ignore:
Timestamp:
Feb 10, 2010, 5:35:11 PM (11 years ago)
Author:
duh
Message:
  • previous commits broke application bootstrapping:
    • fixed some domain classes where nullable and / or blank were not correctly implemented
    • commented out the PPSH study which is still buggy
  • improved wizard data handeling, error reporting and javascript
File:
1 edited

Legend:

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

    r188 r189  
    3131                        ).with { if (!validate()) { errors.each { println it} } else save()}
    3232
    33 
    3433                        def humanBodyOntology = new Ontology(
    3534                                name: 'Foundational Model of Anatomy',
     
    6766                                accession: 'P-MDMXGE-264'
    6867                        ).with { if (!validate()) { errors.each { println it} } else save()}
    69 
    70 
    7168
    7269                        def treatmentProtocol = new Protocol(
     
    158155                        .addToSubjectFields(new TemplateSubjectField(
    159156                                name: 'Cage',type: TemplateFieldType.INTEGER))
     157                        .addToSubjectFields(new TemplateSubjectField(
     158                                name: 'Some float', type: TemplateFieldType.FLOAT))
     159                        .addToSubjectFields(new TemplateSubjectField(
     160                                name: 'Some ontology', type: TemplateFieldType.ONTOLOGYTERM))
    160161                        .with { if (!validate()) { errors.each { println it} } else save()}
    161162
     
    238239                        }
    239240
    240 
     241/*
    241242                        println 'Adding PPSH study...'
    242243
    243                         def humanStudy = new Study(
     244            def humanStudy = new Study(
    244245                                title:"NuGO PPS human study",
    245246                                code:"PPSH",
     
    355356                        humanStudy.addToAssays(lipidAssayRef);
    356357                        humanStudy.save()
    357 
     358*/
    358359                }
    359 
    360360        }
    361361
Note: See TracChangeset for help on using the changeset viewer.