added a little defensive error checking when adding ontology relationships.
commitc75d63dee635c41d2382be3f3a6a2b610b535b13
authorRobert Buels <rmb32@cornell.edu>
Mon, 19 Jul 2010 23:15:40 +0000 (19 16:15 -0700)
committerRobert Buels <rmb32@cornell.edu>
Tue, 20 Jul 2010 02:02:18 +0000 (19 19:02 -0700)
tree5f1b58fc1ba8118ec85500529a94355f60ec8719
parent3c0aa931da0acd75d05393e68ea0846233d29ec7
added a little defensive error checking when adding ontology relationships.

throws an error when either subject or object are not defined.  also
reverts 25403c7fbcdf9364fcc03b5d3a637553011c965a, which allowed this
method to succeed in this case.
Bio/Ontology/SimpleOntologyEngine.pm