Skip to content

Commit

Permalink
Add snakemake parameter --ignore-incomplete to snappy-pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Erika Zuljan committed Dec 16, 2024
1 parent 4a6c2ec commit f296024
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions snappy_pipeline/apps/snappy_snake.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ def run(wrapper_args): # noqa: C901
snakemake_argv.append("--unlock")
if wrapper_args.rerun_incomplete:
snakemake_argv.append("--rerun-incomplete")
if wrapper_args.ignore_incomplete:
snakemake_argv.append("--ignore-incomplete")
if wrapper_args.touch:
snakemake_argv.append("--touch")
if wrapper_args.detailed_summary:
Expand Down Expand Up @@ -254,6 +256,9 @@ def main(argv=None):
group.add_argument(
"--rerun-incomplete", action="store_true", default=False, help="Rerun incomplete jobs"
)
group.add_argument(
"--ignore-incomplete", action="store_true", default=False, help="Ignore incomplete jobs"
)
group.add_argument(
"--cleanup-metadata",
action="store_true",
Expand Down

0 comments on commit f296024

Please sign in to comment.