Skip to content

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

@timtroendle

Description

@timtroendle

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions