Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make cuffmerge Python 3 compatible #108

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chenghlee
Copy link

No description provided.

Cheng H. Lee added 2 commits January 4, 2019 23:28
Used `2to3` to help improve `cuffmerge`'s Python-3 compatibility.
Mostly, this involved fixing `print`s and the syntax for `except`
statements. Also, one `.iteritems()` and one `isinstance()`

**WARNING**: `cuffmerge` is still not fully Py3-compatible, as we still
need to deal with the `os.tmpnam()` function being removed from the
Python 3 Standard Library.

Partially fixes #1.
`os.tmpnam()` was removed from the Python 3 Standard Library.
`tempfile.mktemp()` is functionally equivalent and exists in both the
Python 2.7 and 3 Standard Libraries (though it too has been declared
deprecated). This should be the final tweak necessary needed to make
`cuffmerge` compatible with both Python 2 and 3 compatible.

Fixes #1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant