SynBioDex / pySBOL3

Native python implementation of SBOL 3.0 specification
MIT License
37 stars 16 forks source link

Ensure namespace is a prefix of identity on object creation #332

Closed tcmitchell closed 3 years ago

tcmitchell commented 3 years ago

On object creation if the namespace does not match the identity raise a ValueError to prevent a user from creating an invalid object.

Also correct an errant unit test that had mismatched namespace and identity. Oops!

Fixes #277