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
Revise toolshed config dependency check error message in repository install manager #8720
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It feels like the check should be modernized and fixed but eliminated entirely. I'm fine with this though - we don't have any testing to verify the check works clearly so if we decide to do this better later we can add that with tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
app.tool_dependency_dir
can be None. I'm afraid I can't estimate whether this check is needed here (I don't know this part of the codebase well enough), so I'll rely on @jmchilton 's opinion.
See https://github.com/galaxyproject/galaxy/blob/dev/lib/galaxy/config/__init__.py#L1102 and https://github.com/galaxyproject/galaxy/blob/dev/lib/galaxy/tool_util/deps/__init__.py#L83 |
This underlying issue seems to be fixed now by a recent change in dev. Thank you @nsoranzo! Should we still remove the check here or at least revise the message? |
I think we can revise the message to something like "Tool dependencies installation is disabled in your configuration files." |
Follow-up to #8660. Fixes #8715.