pblischak / HyDe

Hybridization detection using phylogenetic invariants
http://hybridization-detection.readthedocs.io
GNU General Public License v3.0
41 stars 15 forks source link

file path handling #2

Closed pblischak closed 6 years ago

pblischak commented 7 years ago

Right now HyDe checks for the output files that it will write after it is done running and tries to make copies of them the word "old" prepended to them. However, when the --prefix option is used to specify a file path (e.g., --prefix ../data/hyde) the dots are not expanded and the analysis doesn't work because it can't rename the old file. I know the os module has stuff to deal with this so I'll hopefully be able to deal with it soon.

pblischak commented 6 years ago

This is now fixed as of version 0.4.0