Skip to content

Commit 14c46aa

Browse files
committed
fix: reformatted
1 parent b761732 commit 14c46aa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

snakemake_executor_plugin_slurm/__init__.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ async def job_stati(self, command):
575575
f"Waiting {interval} seconds before retrying..."
576576
)
577577
await asyncio.sleep(interval)
578-
578+
579579
try:
580580
time_before_query = time.time()
581581
command_res = subprocess.check_output(
@@ -589,7 +589,9 @@ async def job_stati(self, command):
589589
)
590590
res = {
591591
entry[0]: entry[1].split(sep=None, maxsplit=1)[0]
592-
for entry in csv.reader(StringIO(command_res), delimiter="|")
592+
for entry in csv.reader(
593+
StringIO(command_res), delimiter="|"
594+
)
593595
}
594596
return (res, query_duration) # Success, exit retry loop
595597
except subprocess.CalledProcessError as e:

0 commit comments

Comments
 (0)