Ignore:
Timestamp:
May 4, 2010, 5:45:23 PM (8 years ago)
Author:
keesvb
Message:

added ontology specifications to Subject species and Sample material domain fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing/Sample.groovy

    r392 r394  
    22
    33import dbnp.data.Term
     4import dbnp.data.Ontology
    45
    56/**
     
    2223                        new TemplateField(
    2324                            name: 'material',
    24                             type: TemplateFieldType.ONTOLOGYTERM) ];
     25                            type: TemplateFieldType.ONTOLOGYTERM,
     26                            ontologies: [Ontology.findByNcboId(1005)])
     27                ];
    2528        }
    2629
Note: See TracChangeset for help on using the changeset viewer.