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

Fixed hmmscan path check for python envs. #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wjs20
Copy link

@wjs20 wjs20 commented Sep 2, 2024

I installed ImmuneBuilder in a conda env with anarci, the symlinked a console script to call it to my local bin, so I could use it without activating the environment. However if I call it when the environment is not active, hmmscan is not on the path, and it crashes. I added a check to see if hmmscan is on the path and if it is not, then to check the environments bin folder. This worked for me.

I added shutil and sysconfig imports. Also, I sorted the imports using isort, but they are otherwise unchanged.

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.

1 participant