-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Our current mechanism for converter tests involves testing the original file with the round-tripped file for an exact match of triples. This creates a complication, since round-tripping adds backport annotations– thus, the original file and its round-trip never exactly match. To get around this, we have to artificially add backport annotations to the original file to ensure it matches the round-tripped file. This is a subtle and annoying gotcha when trying to generate test files for new converter tests.
At the moment, I'm uncertain what is the best solution, but likely it involves some special manipulation of backport annotations by the handle_3to2_conversion and handle_2to3_conversion methods. And the solution in each of these methods will need to be slightly different, since round-tripping starting from SBOL2 may end up with something different than round-tripping starting from SBOL3.