Closed dave-doty closed 11 months ago
Some names related to the DNA synthesis company IDT have been renamed to be more general. You will have to rename these in your own code for it to run:
IDTFields
--> VendorFields
Modification.idt_text
--> Modification.vendor_code
Strand.idt
--> Strand.vendor_fields
Additionally, some keys in the JSON format for .sc
files have changed as well. Scadnano (both the web interface and the Python package) should be able to read files with the old keys and convert them to the new keys upon saving. However, if you are manually editing the .sc
file then use the new keys.
Some IDT-specific methods remain, such as Design.write_idt_plate_excel_file
. These use the values in Strand.vendor_fields
and Modification.vendor_code
, but since the file format actually is specific to IDT, the method name is unchanged.
Although currently there are no methods for exporting to file formats recognized by other synthesis companies, in the meantime it should be straightforward to use the values in VendorFields
to write custom code for such exports.
The concept is more general than IDT, so VendorFields is a better name. Also change the names of JSON keys associated with these, and field names such as
Strand.idt
toStrand.vendor_fields
andModification.idt_text
toModification.vendor_code
.