Ignore:
Timestamp:
Jun 16, 2010, 3:36:04 PM (10 years ago)
Author:
duh
Message:
  • fixed bug where sampling templates could not be editted
File:
1 edited

Legend:

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

    r569 r571  
    11081108                }
    11091109
    1110                 // attach ontologies in runtime
    1111                 // @see dbnp.studycapturing.Subject
    1112                 // @See dbnp.studycapturing.Sample
     1110                /**
     1111                 * attach ontologies in runtime. Possible problem is that you need
     1112                 * an internet connection when bootstrapping though.
     1113                 * @see dbnp.studycapturing.Subject
     1114                 * @see dbnp.studycapturing.Sample
     1115                 */
    11131116                TemplateEntity.getField(Subject.domainFields, 'species').ontologies = [Ontology.getOrCreateOntologyByNcboId(1132)]
    11141117                TemplateEntity.getField(Sample.domainFields, 'material').ontologies = [Ontology.getOrCreateOntologyByNcboId(1005)]
Note: See TracChangeset for help on using the changeset viewer.