Skip to content

Commit 90150c8

Browse files
Merge branch 'main' into checksums
2 parents 9cb22bb + 9a6d14b commit 90150c8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

snakemake/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1375,7 +1375,7 @@ def get_argument_parser(profiles=None):
13751375
group_behavior.add_argument(
13761376
"--keep-storage-local-copies",
13771377
action="store_true",
1378-
help="Keep local copies of remote input files.",
1378+
help="Keep local copies of remote input and output files.",
13791379
)
13801380
group_behavior.add_argument(
13811381
"--target-files-omit-workdir-adjustment",

snakemake/workflow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,8 @@ def execute(
12911291

12921292
if not dryrun_or_touch:
12931293
async_run(self.dag.store_storage_outputs())
1294-
async_run(self.dag.cleanup_storage_objects())
1294+
if not self.storage_settings.keep_storage_local:
1295+
async_run(self.dag.cleanup_storage_objects())
12951296

12961297
if success:
12971298
if self.dryrun:

0 commit comments

Comments
 (0)