SynBioDex / libSBOLj

Java Library for Synthetic Biology Open Language (SBOL)
Apache License 2.0
37 stars 24 forks source link

Check for circular references in wasGeneratedBy (sbol-10223) #537

Closed cjmyers closed 6 years ago

cjmyers commented 6 years ago

If an object has a wasGeneratedBy, then it should not refer to an Activity that has this same object as Usages. Similarly, if one of the objects referred has a wasGeneratedBy that refers to an Activity, its Usages should also not include the first object.

In other words, there should be no cycles in wasGeneratedBy -> Usage -> wasGeneratedBy -> Usage ... chains.

cjmyers commented 6 years ago

Done