Commit 07784594 authored by cmaffeo2's avatar cmaffeo2
Browse files

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

parent fe860000
......@@ -209,7 +209,11 @@ class cadnano_part(SegmentModel):
# TODO add code to encode Parts with ARBITRARY point configurations
raise NotImplementedError("Not implemented")
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
vh_list = []
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment