OpenTreeOfLife / taxomachine

taxonomy graphdb
Other
7 stars 4 forks source link

Add test for partially installed taxonomy #77

Open chinchliff opened 10 years ago

chinchliff commented 10 years ago

Attempting to install a taxonomy into a graph with a partial-to-complete taxonomy should result in an error. Not sure what kind of error. Currently an IllegalStateException is thrown (in TaxonomyContext.java), with a message asking the user if they may already have installed a taxonomy.

chinchliff commented 10 years ago

Correction, this error is generated when attempting to build contexts in a database with multiple overlapping taxonomies, if more than one root node matching the context is found. There should probably be a check on installation that should report the error instead... For now, anyway.