You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pySBOL raises a RuntimeError when an object is not found. The native python SBOL library raises SBOLError. Allow for both by dynamically configuring a NotFoundError like so:
# Set up the not found error for catchingtry:
# SBOLError is in the native python moduleNotFoundError=SBOLErrorexceptNameError:
# The swig wrapper raises RuntimeError on not foundNotFoundError=RuntimeError
The text was updated successfully, but these errors were encountered:
pySBOL raises a
RuntimeError
when an object is not found. The native python SBOL library raises SBOLError. Allow for both by dynamically configuring aNotFoundError
like so:The text was updated successfully, but these errors were encountered: