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

Avoid silent tool upgrades during workflow imports #5821

Merged
merged 9 commits into from Apr 13, 2018

Conversation

guerler
Copy link
Contributor

@guerler guerler commented Mar 31, 2018

Currently we are implicitly upgrading workflow modules with regard to tool versions during import and export. Upgrading means that the tool/module state is evaluated using a newer tool version. This can trigger a key error exception if the new tool version contains a grouping parameter which was not available previously. This PR resolves this, disabling tool version upgrades by default i.e. module states of mismatching tool versions are stored unmodified just as if the tool does not exist at all. In contrast, tool version upgrades are explicitly allowed when loading workflows into the editor or run view. In these two cases, missing conditional parameters are identified, corrected in memory and displayed with a warning. The stored module states remain unchanged unless they are actively overwritten by the workflow editor. Fixes #5617.

@jmchilton jmchilton merged commit b0d867e into galaxyproject:dev Apr 13, 2018
@guerler guerler deleted the exact_version_handling branch February 19, 2020 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KeyError workflow import problems
2 participants