cadnano.fileio.v3decode module¶
-
decode
(document, obj)¶ Decode a a deserialized Document dictionary
Parameters: - document (Document) –
- obj (dict) – deserialized file object
-
decodePart
(document, part_dict)¶ Decode a a deserialized Part dictionary
Parameters: - document (Document) –
- part_dict (dict) – deserialized dictionary describing the Part
-
importToPart
(part_instance, copy_dict, use_undostack=True)¶ Use this to duplicate virtual_helices within a Part. duplicate id_nums will start numbering part.getIdNumMax() rather than the lowest available id_num. TODO should this numbering change?
Parameters: - part_instance (ObjectInstance) –
- copy_dict (dict) –