ksamuk / pixy

Software for painlessly estimating average nucleotide diversity within and between populations
https://pixy.readthedocs.io/
MIT License
115 stars 14 forks source link

--output_folder prepends working directory path onto paths from root #29

Closed tintori closed 3 years ago

tintori commented 3 years ago

Here's a little one I noticed—If I try to specify a path from the root for the --output_folder, my working directory path is automatically pasted onto the beginning of it.

For example, if I'm in the working directory "/path/to/" and run pixy with the option "--output_folder /path/to/my/directory/", the output file gets written to "/path/to//path/to/my/directory/".

It doesn't seem to be happening with the other flags (--vcf and --populations are all fine when I specify a path from root).

Thanks for the great tool and excellent documentation!

ksamuk commented 3 years ago

Thanks for catching this! This has been fixed in the new version (1.1.0.beta1) on conda-forge.