Skip to content
Snippets Groups Projects
Commit 07784594 authored by cmaffeo2's avatar cmaffeo2
Browse files

Updated cadnano reader to work with recent pull of cadnano (ce6ff019)

parent fe860000
No related branches found
No related tags found
No related merge requests found
...@@ -209,7 +209,11 @@ class cadnano_part(SegmentModel): ...@@ -209,7 +209,11 @@ class cadnano_part(SegmentModel):
# TODO add code to encode Parts with ARBITRARY point configurations # TODO add code to encode Parts with ARBITRARY point configurations
raise NotImplementedError("Not implemented") raise NotImplementedError("Not implemented")
else: else:
vh_props, origins = part.helixPropertiesAndOrigins() try:
vh_props, origins = part.helixPropertiesAndOrigins()
except:
origins = {hid:part.getVirtualHelixOrigin(hid)[:2] for hid in part.getidNums()}
self.origins = origins self.origins = origins
vh_list = [] vh_list = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment