broadinstitute / adapt

A package for designing activity-informed nucleic acid diagnostics for viruses.
MIT License
27 stars 1 forks source link

auto-from-args does not work on Windows #25

Closed priyappillai closed 3 years ago

priyappillai commented 3 years ago

When running fetch_fasta in adapt.prepare.ncbi_neighbors, a temporary file is created. This file is then opened a second time in read_fasta in adapt.utils.seq_io. This is not supported on Windows (https://docs.python.org/3/library/tempfile.html).

priyappillai commented 3 years ago

Fixed on Windows branch, along with the same bug in other places.