Changeset 571 for trunk/grails-app/conf
- Timestamp:
- Jun 16, 2010, 3:36:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r569 r571 1108 1108 } 1109 1109 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 */ 1113 1116 TemplateEntity.getField(Subject.domainFields, 'species').ontologies = [Ontology.getOrCreateOntologyByNcboId(1132)] 1114 1117 TemplateEntity.getField(Sample.domainFields, 'material').ontologies = [Ontology.getOrCreateOntologyByNcboId(1005)]
Note: See TracChangeset
for help on using the changeset viewer.