-
Notifications
You must be signed in to change notification settings - Fork 1
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
numpy error #1
Comments
Another update to this, I tried setting up a conda env specifying python 3.6 and numpy 1.19.5, and then installing all other required packages, but ran into further dependency/version issues. This time with ncls and pyranges. Is there any chance you run this within a conda env you could share a spec file from? Then I can try and replicate the script and see if I get an errors again. |
Hi Julie, I think this is a Python dependancy issue. I've tried running TEstrainer in a new conda environment to replicate your issue and wasn't able to replicate it. I set up my conda environment using the following command:
which resulted in the following spec file: Hopefully this will solve the issue for you. |
I tried a few things, with the last one being making the conda env from your spec file, and cloning the repository again, and no luck, same numpy error. I even produced a spec file for my new conda env, compared it line by line with comm, and it is all exactly the same, so I'm super stumped as to what might be going on... |
I've found the issue! From fishing through pyranges dependancies' Github repos an old version of "sorted_nearest" is being used (v0.0.37). This old version uses a deprecated numpy type, but this has been updated in the later versions of sorted_nearest. Unfortunately it's not available yet on conda, so if there's some way you're able to update that package in particular you'll be able to get it running. I've raised an issue here: pyranges/sorted_nearest#6 to hopefully have it updated on conda. |
To overcome the issue in the short term, if you create the env using the following command it should work
|
Hi james, great tool! So far I've managed to start a test run, but have come up against an error, which might be a numpy version issue? Not sure though as I'm not much of a python user
I repeatedly get this error, I assume once for every repeat element in my library:
I've also attached the spec file of the conda env I created for this if that helps
cfnjxb_TEStrainer_spec.txt
The text was updated successfully, but these errors were encountered: