You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Isn't it idiomatic Python to assume python is 2 where as python3 is specifically 3?
In this case, the problem is that Ansigenome doesn't support 3 at the moment but I'm not sure I agree with forcing 2 in the mean time. A more long term approach would be to get Ansigenome running on both 2 and 3. Problem is, I don't have 3 installed atm.
Isn't it idiomatic Python to assume python is 2 where as python3 is specifically 3?
It should be, according to PEP 394, but as PEP 394 says, on Arch Linux is /usr/bin/python linked to /usr/bin/python3
I made some checks across distributions and this is the compatibility of the ansigenome v.0.5.6:
Arch - /usr/bin/python points to python3
Centos 7.2 - /usr/bin/python points to python2
Debian 8 - /usr/bin/python points to python2
Fedora 23 - in minimal image is python3 installed, python doesn't exists
Gentoo - /usr/bin/python points to python3
Ubuntu 14.04 - in minimal image is python3 installed, python doesn't exists
In this case, the problem is that Ansigenome doesn't support 3 at the moment but I'm not sure I agree with forcing 2 in the mean time. A more long term approach would be to get Ansigenome running on both 2 and 3. Problem is, I don't have 3 installed atm.
I disagree. The problem I've encountered is that my system (Gentoo) links python to python3, but contains python2 too. So with this pull request I am able to run ansigenome.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Should fix #38