Cadnano's helix order was not conserved when using from_cadnano_v2. That happened because @dave-doty thought that the constructor of Design would automatically handle this ordering (by correctly setting helices_view_order) but it does not. I have given more details in the related issue: https://github.com/UC-Davis-molecular-computing/scadnano-python-package/issues/202
In order to fix this bug I uncommented the following instruction which sets the helix order directly in the import code instead of relying on Design's constructor:
design.set_helices_view_order([num for num in helices]) l.4648
Description
Cadnano's helix order was not conserved when using
from_cadnano_v2
. That happened because @dave-doty thought that the constructor ofDesign
would automatically handle this ordering (by correctly settinghelices_view_order
) but it does not. I have given more details in the related issue: https://github.com/UC-Davis-molecular-computing/scadnano-python-package/issues/202In order to fix this bug I uncommented the following instruction which sets the helix order directly in the import code instead of relying on Design's constructor:
design.set_helices_view_order([num for num in helices])
l.4648Related Issue
https://github.com/UC-Davis-molecular-computing/scadnano-python-package/issues/202
How Has This Been Tested?
I added the test
tests.scadnano_tests.TestImportCadnanoV2.test_helices_order2