Skip to content

Commit 12ad41d

Browse files
authored
Merge branch 'main' into fix/issue3001
2 parents 848dd9c + 715c572 commit 12ad41d

File tree

45 files changed

+56
-100
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+56
-100
lines changed

docs/_static/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@
1515
#content {
1616
overflow-x: auto;
1717
}
18+
19+
code {
20+
font-family: monospace !important;
21+
}

docs/project_info/faq.rst

Lines changed: 4 additions & 23 deletions

snakemake/dag.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,10 +437,10 @@ async def cleanup_storage_objects(self):
437437
async def sanitize_local_storage_copies(self):
438438
"""Remove local copies of storage files that will be recreated in this run."""
439439
async with asyncio.TaskGroup() as tg:
440-
async for job in self.needrun_jobs:
440+
for job in self.needrun_jobs():
441441
if not self.finished(job):
442442
for f in job.output:
443-
if f.is_storage and f.exists_local():
443+
if f.is_storage and await f.exists_local():
444444
tg.create_task(
445445
f.remove(remove_non_empty_dir=True, only_local=True)
446446
)
@@ -1609,7 +1609,7 @@ async def postprocess(
16091609
# cleanup local storage copies of files that will be created by jobs
16101610
# this is important to ensure that there are no outdated local copies
16111611
# that misguide e.g. params functions.
1612-
self.sanitize_local_storage_copies()
1612+
await self.sanitize_local_storage_copies()
16131613
self.update_container_imgs()
16141614
self.update_conda_envs()
16151615
await self.update_needrun()

test-environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ dependencies:
5959
- nodejs # for cwltool
6060
- immutables
6161
- conda
62+
- paramiko >=3.4.1 # TODO remove line (paramiko is an indirect dependency), just a temporal workaround for this bug: https://github.com/paramiko/paramiko/issues/2419
6263
- pip
6364
- pip:
6465
- cwltool
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{'alpha': 1, 'beta': 0.1, 'gamma': 0.99}
1+
{"alpha": 1, "beta": 0.1, "gamma": 0.99}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{'alpha': 2, 'beta': 0.0, 'gamma': 3.9}
1+
{"alpha": 2, "beta": 0.0, "gamma": 3.9}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{'alpha': 1, 'beta': 0.1, 'gamma': 0.99}
1+
{"alpha": 1, "beta": 0.1, "gamma": 0.99}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{'alpha': 2, 'beta': 0.0, 'gamma': 3.9}
1+
{"alpha": 2, "beta": 0.0, "gamma": 3.9}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{'alpha': 1, 'beta': 0.1, 'gamma': 0.99}
1+
{"alpha": 1, "beta": 0.1, "gamma": 0.99}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{'alpha': 2, 'beta': 0.0, 'gamma': 3.9}
1+
{"alpha": 2, "beta": 0.0, "gamma": 3.9}

0 commit comments

Comments
 (0)