I implemented a first working version of sub_component <---> component conversion
A Unit test for a round trip starting from SBOL2 still needs to be written.
In addition, the prototype does not handle hasLocation and orientation properties.
For the time being, I am conveerting all sub_components into 2.X components. However, this is not always the case, since "SBOL 2.x Component, Module, and FunctionalComponent objects map to SBOL 3.x SubComponent objects" as per the documentation.
I don't necessarily feel comfortable merging yet, but I would appreciate feedback on what I have at the moment.
I implemented a first working version of
sub_component
<--->component
conversionA Unit test for a round trip starting from SBOL2 still needs to be written.
In addition, the prototype does not handle
hasLocation
andorientation
properties.For the time being, I am conveerting all
sub_components
into 2.Xcomponents
. However, this is not always the case, since "SBOL 2.x Component, Module, and FunctionalComponent objects map to SBOL 3.x SubComponent objects" as per the documentation.I don't necessarily feel comfortable merging yet, but I would appreciate feedback on what I have at the moment.