-
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
[23.2] Build param dict before creating entrypoint #17440
[23.2] Build param dict before creating entrypoint #17440
Conversation
@sveinugu does this still make sense to you ? I'm not sure why you moved the entry point creation |
Right. So it seems there is a circular dependency afoot! Moving
(from https://docs.galaxyproject.org/en/master/admin/special_topics/interactivetools.html). The only thing this breaks is the ability to use templates for the name of the entry points of ITs, which only seems to be used to put the name of the infile into the name of the entrypoint ("Display name" above). This again I believe is only really used for the "Active Interactive Tools" table (the title of the new window/tab is something else). So one alternative fix is to just remove this templating from all the ITs that use it, and not allow templating of entry point names. A more complicated fix is to refactor somehow to support both dependencies |
Just to be clear: merging this PR would break path-based interactive tools! |
64ba558
to
b765262
Compare
OK, I've moved the entry point creation so that the param_dict is available, but before templating out environment variables and config files. |
LGTM. Thanks! |
eb16c67
to
5cc1249
Compare
Test failures are unrelated |
5cc1249
to
9eebb60
Compare
Fixes #17438.
Thanks for the excellent debugging @cat-bro!
How to test the changes?
(Select all options that apply)
License