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
ValueError: Cut already has identity http://examples.org/ComponentDefinition/plasm1/seq_ann/sa_cut and cannot be re-parented.
Not setting the identity makes the conversion run, but the new owned objects will have generic ID's like Location1, so the original information is lost on the round-trip. I'm not sure if I can set the display_id property by itself and let it figure out a new identity.
This seems like something that might need to be resolved with changes to pysbol3. @jakebeal@tcmitchell Do you think there is a reliable workaround?
The text was updated successfully, but these errors were encountered:
This is a place where we'll want to use a backport property to keep track of the SBOL2 identity. The SBOL3 specification is intentionally much stricter about the allowable names of child objects than the SBOL2 specification.
As a consequence, that SBOL2 ComponentDefinition named http://examples.org/ComponentDefinition/plasm1/1 could well have a child with a totally unrelated name like http://somedomain.com/seq_ann/sa_cut. There is no way to make this relationship legal in SBOL3, so we have to mint a legal SBOL3 name and just keep track of the SBOL2 name to backport to.
I'm not sure how to set the identities of owned objects while preserving the IDs from SBOL2. When I try to set the identity of a
Cut
, for example:The part of converter code that handles this is:
I get the error:
Not setting the identity makes the conversion run, but the new owned objects will have generic ID's like
Location1
, so the original information is lost on the round-trip. I'm not sure if I can set thedisplay_id
property by itself and let it figure out a new identity.This seems like something that might need to be resolved with changes to pysbol3. @jakebeal @tcmitchell Do you think there is a reliable workaround?
The text was updated successfully, but these errors were encountered: