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

Command line option to always rerun with updated code or parameters #976

Closed
timtroendle opened this issue May 3, 2021 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@timtroendle
Copy link
Contributor

I often run into situations in which rule params or code have been updated, but these updates slip through unnoticed, causing errors downstream. I am aware that I can rerun rules with updated code or parameters, but as that has to be done manually, it does not necessarily help in these situations.

A command line option that always reruns rules with updated code or parameters would solve this problem. For my own work, I don't see a reason why I would ever not use this command line option.

snakemake --rerun-updated-code --rerun-updated-params

This is different from forcing rerun using the existing --list-params-changes/--list-code-changes. Essentially, it would put code and parameter value changes on the same level as other existing rerun triggers, like outdated output files.

@timtroendle timtroendle added the enhancement New feature or request label May 3, 2021
timtroendle added a commit to timtroendle/snakemake that referenced this issue Jul 26, 2021
This commandline options allows to automatically rerun all rules for which parameters have changed.

Fixes snakemake#976.
@timtroendle
Copy link
Contributor Author

Something similar has been implemented in #1663, therefore I am closing this feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant