UC-Davis-molecular-computing / scadnano-python-package

Python scripting library for generating designs readable by scadnano.
https://scadnano.org
MIT License
13 stars 7 forks source link

oxDNA file export with filename does not set extension #245

Open cgevans opened 2 years ago

cgevans commented 2 years ago

write_oxdna_files has a filename_no_extension argument. However, this is passed to _get_filename_same_name_as_running_python_script, which assumes that any non-None filename already has an extension. Thus, if filename_no_extension is set, no extensions are added, and the top file overwrites the dat file.