Changeset 997 for trunk/grails-app/conf


Ignore:
Timestamp:
Oct 26, 2010, 4:33:21 PM (10 years ago)
Author:
j.a.m.wesbeek@…
Message:

This bug is caused by the Ontology being updated on the ncbo side. We already have one version in the database (1.71) which has only one term linked (glucose). When you tried to add other terms, these terms came from a newer version of the Ontology (1.72) which did not yet exist in the database so a new Ontology was created. The Terms benzo[a]pyrene, benzene and benzenediols were added to this Ontology.

Resolution: before adding a new ontology, a lookup is performed on name. If this returns an existing ontology, the existing ontology is updated with the updated information of the new version of the ontology. This sollution is not ideal, but good enough for now...

File:
1 edited

Legend:

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

    r976 r997  
    9090
    9191                def glucoseTerm = new Term(
    92                         name: 'Glucose',
     92                        name: 'glucose',
    9393                        ontology: chebiOntology,
    9494                        accession: 'CHEBI:17234'
Note: See TracChangeset for help on using the changeset viewer.