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

Port ldsc to Python 3 #360

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

Port ldsc to Python 3 #360

wants to merge 12 commits into from

Conversation

pettyalex
Copy link

This PR ports ldsc to Python 3, by running 2to3 over it, and then cleaning up indents with reindent.

It's been tested on our datasets, as well as the nose test suite that's included.

I did have to update one of the tests, it was comparing arrays to scalars using nose.tools.assert_almost_equal, I updated this to use numpy.isclose instead.

@pettyalex
Copy link
Author

This fixes #359 and #358

@laleoarrow
Copy link

This update could be of great assistance.

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