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
How do you add an interaction to a componentdefinition in pySBOL2? I don't see a property or method to do so, and I did not find info in the mapping documentation of the spec.
The text was updated successfully, but these errors were encountered:
In SBOL2, a ComponentDefinition contains only structural information (features, constraints, and sequences) and a ModuleDefinition contains only functional information (modules, interactions, and models).
As a consequence, an Interaction can only be added to a ModuleDefinition - there is no such property in ComponentDefinition.
Combining sbol2.ComponentDefinition and sbol2.ModuleDefinition into sbol3.Component was one of the key simplifying innovations for SBOL3, but does make like more difficult when converting SBOL3 into SBOL2, since a single sbol3.Component may need to be split into two or more SBOL2 objects.
Related to the converter issue SynBioDex/SBOL-utilities#248
How do you add an interaction to a componentdefinition in pySBOL2? I don't see a property or method to do so, and I did not find info in the mapping documentation of the spec.
The text was updated successfully, but these errors were encountered: