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

Interpretation failing due to old deepLIFT version #12

Open
suragnair opened this issue Apr 16, 2021 · 0 comments
Open

Interpretation failing due to old deepLIFT version #12

suragnair opened this issue Apr 16, 2021 · 0 comments

Comments

@suragnair
Copy link
Collaborator

suragnair commented Apr 16, 2021

This is the error:
File "/home/users/surag/oak/miniconda3/envs/basepairmodels/lib/python3.6/site-packages/basepairmodels/cli/interpret.py", line 192, in data_func return [dinuc_shuffle(model_inputs[0], args.num_shuffles, rng)] + \ TypeError: dinuc_shuffle() takes from 1 to 2 positional arguments but 3 were given

Followed installation instructions as specified in the docs with fresh conda env. It seems to install version 0.6.10.0 of deepLIFT. That version takes in only two arguments.

https://github.com/kundajelab/deeplift/blob/d0d5f3606b96ea6803b9c8bcb6c3b8e1f4b99300/deeplift/dinuc_shuffle.py#L41

Resolved by pip instal --upgrade deeplift. Perhaps specify version deepLIFT 0.6.13 or above in requirements.txt?

@suragnair suragnair changed the title Interpretation failing Interpretation failing due to old deepLIFT version Apr 16, 2021
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

No branches or pull requests

1 participant