-
Notifications
You must be signed in to change notification settings - Fork 29
Conversion and test of an empty Component Definition #315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pySBOL2 can make objects without namespaces Shouldn't assume they will have a namespaces list
Made a function to handle identities Changed how that is handled back and forth for Component Definitions
Added test and test file for ComponentDefinition. I don't know why this wasn't commited earlier
Need to strip the version from persistent identity after creating the object
Restored test with new minimal file for collection
After completing converter code, there is still some things you need to do
Adapted existing implementation file since we don't have a SBOL Notebooks version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basic works looks solid; a few improvements are needed before merge.
Also fixed description for implementation test
Added empty Component Definition file and enabled the test for it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work and almost here - it just needs the three missing .nt
files added for the tests and I think we're good to go.
Files were generated by running the converter on this commit (all tests were passing)
Following from discussions on Harmony 2025 and issue #283, I made some changes to handle URIs in SBOL compliant files.
Main points:
This PR also handles a minor error that showed up when converting objects with
namespace
=None
. I just check if there is a namespace list before going through it.The conversion of Collection and Implementation is now outdated and untested, which will be recovered in a later PR.