Skip to content

Add support for Python 3#8

Merged
iskandr merged 3 commits intomasterfrom
support_python3
Feb 13, 2015
Merged

Add support for Python 3#8
iskandr merged 3 commits intomasterfrom
support_python3

Conversation

@timodonnell
Copy link
Copy Markdown
Contributor

Unit tests run for me on both Python 3.4 and 2.7.

Unit tests run for me on both Python 3.4 and 2.7.
Comment thread test/test_dbnsfp_validation.py Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did the actual calls to the test function come out of the loop?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yikes -- good catch. there was some tab / space issue that i was trying to correct here, but got it wrong. fixed.

@iskandr
Copy link
Copy Markdown
Contributor

iskandr commented Feb 13, 2015

Other than the indent change in the main section of a test and the lack of import print_function, LGTM.

* fix test_dbnsfp_validation.py indent issue introduced in previous commit
* add future imports so code running in python 2 has closer semantics to python 3: print_function, division, absolute_import, unicode_literals
* drop an unnecessary list() call in maf.py
@timodonnell
Copy link
Copy Markdown
Contributor Author

PR updated to address comments

Removed unnecessary "unicode_literals" from __future__ imports.

Future imports are now: print_function, division, absolute_import
iskandr added a commit that referenced this pull request Feb 13, 2015
@iskandr iskandr merged commit cc322c8 into master Feb 13, 2015
@iskandr iskandr deleted the support_python3 branch February 13, 2015 16:59
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.

2 participants