isovic / graphmap

GraphMap - A highly sensitive and accurate mapper for long, error-prone reads http://www.nature.com/ncomms/2016/160415/ncomms11307/full/ncomms11307.html Note: This was the original repository which will no longer be officially maintained. Please use the new official repository here:
https://github.com/lbcb-sci/graphmap2
MIT License
178 stars 44 forks source link

Conda thinks 0.22.1 is the most recent version #75

Closed eyesmo closed 6 years ago

eyesmo commented 6 years ago

When I installed graphmap with conda install graphmap it downloads version 0.22.1, rather than the most up-to-date version 0.5.2. Additionally, for reasons unclear I couldn't jump straight to installing 0.5.2 with conda install graphmap=0.5.2 because conda couldn't find 0.5.2. However, if I try conda install graphmap=0.4.0 conda asks me if I'm sure I want to downgrade the software (y), and then installs version 0.4.0. And once 0.4.0 is installed, conda install graphmap=0.5.2 works, and I can install the latest version I think conda assumes that 0.22.1 comes after 0.5.2 numerically. Just a heads up!

Screenshots attached below in order of issue/resolution.

screen shot 2017-08-08 at 12 43 10 pm screen shot 2017-08-08 at 12 44 36 pm screen shot 2017-08-08 at 12 45 42 pm screen shot 2017-08-08 at 12 45 56 pm screen shot 2017-08-08 at 12 46 27 pm
wdecoster commented 6 years ago

What if you specify the channel explicitly:

conda install graphmap=0.5.2 -c bioconda

This works for me.

0.22 is older but more recent in "version numbering" so understandable that conda selects the wrong version...

isovic commented 6 years ago

Hi, Thank you both for reporting and resolving this! Several versions ago we decided on changing the versioning convention to the commonly used major.minor.patch format which we liked more for the long-term development. Unfortunately this had an effect as the one described above, but it will enable more flexibility in the long run. Best regards, Ivan.