-
Notifications
You must be signed in to change notification settings - Fork 42
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
clipper displays unusual help messages and can't be used #103
Comments
I have the same issue! Can't use clipper. Any solution for that? |
I used |
I ended up making a docker image for CLIPper, since the student who developed this left years ago. I'm not sure if I'm able to reproduce these problems, so hopefully this helps:
|
Unfortunately, our slurm cluster did not support docker. |
Can you use singularity? Eg.
singularity pull docker://brianyee/clipper:61d5456
SECURE: MESSAGE FROM Keren Zhou ON 2/10/22, 4:33 PM
I ended up making a docker image for CLIPper, since the student who developed this left years ago. I'm not sure if I'm able to reproduce these problems, so hopefully this helps:
docker pull brianyee/clipper:61d5456
Unfortunately, our slurm cluster did not support docker.
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/YeoLab/clipper/issues/103*issuecomment-1035678160__;Iw!!LLK065n_VXAQ!1yHlt7Fepy0ZMhBIhquwASAljI99GidKyFtbGi8lE1yqmW3fHJLnRjDuRSwF90xggnI$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AB7TJP3KSUA4ZEWEC4NRIKLU2RKLVANCNFSM5N35KTLQ__;!!LLK065n_VXAQ!1yHlt7Fepy0ZMhBIhquwASAljI99GidKyFtbGi8lE1yqmW3fHJLnRjDuRSwF2IpDEIk$>.
You are receiving this because you commented.Message ID: ***@***.***>
|
This is because You are using the python3.7 in a conda env, so you can compile the code by: g++ -fPIC -shared -O3 -Wall -I/home/user/.conda/include/python3.7 -o peaks.cpython-37m-x86_64-linux-gnu.so peaksmodule.cc Then check the path of clipper package, and move the python -c "import clipper;print(clipper.__file__)" The warning message is not relative to this problem, but it can be fixed by this patch: #104 |
I got the same error. Could you clarify the “path of clipper package”? Thanks for your time!
|
run |
Thanks for the reply, but unfortunately I still failed to install it. I gave it up after a long time trying. |
I fixed this issue as you mentioned. However, I had to move the output file peaks.cpython-37m-x86_64-linux-gnu.so to the directory /home/user/.conda/envs/clipper3/lib/python3.7/site-packages/clipper/src instead of the directory that I obtained with python -c "import clipper;print(clipper.file)" Furthermore, before moving the peaks.cpython-37m-x86_64-linux-gnu.so to the mentioned folder, I deleted the peaks.cpython-37m-x86_64-linux-gnu.so file that was stored in this folder previously. I hope this can solve the issue for other people, I spent half a day trying to solve this. |
If you encounter the warning message, it might be the problem with the peaksmodule.cc code; Revise your code as this link below: |
After installing clipper, I got the help message from
clipper -h
bellow:I also noticed that when installing with setup.py, there's warnings from
peaksmodule.cc
. That may caused the bug.The text was updated successfully, but these errors were encountered: