-
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.0] Display DCE in job parameter component, allow rerunning with DCE input #15744
Conversation
3265efb
to
af47306
Compare
bb97680
to
51bd812
Compare
Addresses part of galaxyproject#15729
If you navigate to a tool re-run url without loading a history first the tool form would be rebuilt before the tool parameters from the re-run were actually set, so you would effectively just get the default values for the tool.
It'll always pull in the first dataset in the `other_values` dict, which isn'r correct. Tool parameters at this point know how to deal with collections, so this shouldn't be neceesary.
@@ -47,6 +47,7 @@ export const SimpleProviderMixin = { | |||
loading: this.loading, | |||
item: this.item, | |||
save: this.save, | |||
result: this.item, |
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.
Minor redundancy here but this allows it to plug into the generic item component without additional changes. We could resolve this later in dev.
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.
Awesome work, for my test case it worked well and fixed the re-running with dce elements and also now displays the correct details on the job info page. This is a pretty important fix.
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.
Thank you!
This PR was merged without a "kind/" label, please correct. |
Fixes all of #15729.
The big upshot is that element identifiers are correctly preserved, which would previously be lost, because the re-run would work over HDAs without the collection element context. But this is also much more correct and is the only way to re-run parts of jobs that consume entire subcollections.
How to test the changes?
(Select all options that apply)
License