-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[22.05] Reload built-in converters on toolbox reload #16948
[22.05] Reload built-in converters on toolbox reload #16948
Conversation
a7c7ede
to
f447811
Compare
lib/galaxy/tool_util/toolbox/base.py
Outdated
@@ -24,6 +24,7 @@ | |||
NullDependencyManager, | |||
) | |||
from galaxy.tool_util.loader_directory import looks_like_a_tool | |||
from galaxy.tools.special_tools import load_lib_tools |
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.
You cannot import stuff from galaxy.tools
in galaxy.tool_util
, otherwise the package hierarchy breaks. Can you please move lib/galaxy/tools/special_tools.py
to lib/galaxy/tool_util/special_tools.py
and update the import?
Maybe the load_lib_tools
changes should go to dev and keep here only the load_builtin_converters
part?
f447811
to
095e9c1
Compare
f439a48
to
8958492
Compare
The unit test failures are real unfortunately, we may need to initialize |
I think it's better to fix tests. Have I met what you meant by "make more specific assertions"? |
- extend mock app config by display_builtin_converters
479df28
to
1fad559
Compare
Hi @nsoranzo .. how should we continue here? Anything I can/should do here? |
With all the (probably unrelated) test failures, it is a bit difficult to find out if there is anything that we should worry about. Can you maybe compare with recent 22.05 test runs https://github.com/galaxyproject/galaxy/actions?query=branch%3Arelease_22.05 ? |
Or target a newer branch ? I don't feel comfortable with these changes targeting a stable release |
Since I'm already running this on my production instance I would also be happy with 23.2 / dev. But more generally: Wouldn't it be better to provide the converters as an extra tool config (or commented section in the tool config sample) file that admins could load if desired? It would also solve #17076. Only downside is that we need to keep this file up-to-date .. but converters are only updated seldom. |
Converters are loaded via the datatypes config, let's not mess with that. |
Superseded by #17209 |
Hopefully fixes #16947
Maybe
load_builtin_converters
should be included in theload_lib_tools
orToolbox
init function?How to test the changes?
(Select all options that apply)
License