Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeesters committed May 14, 2024
1 parent 25afa69 commit 4d82365
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snakemake_executor_plugin_slurm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ async def check_active_jobs(

# We use this sacct syntax for argument 'starttime' to keep it compatible
# with slurm < 20.11
sacct_starttime = f"{datetime.now() - timedelta(days=2):%Y-%m-%dT%H:00}"
sacct_starttime = f"{datetime.now() - timedelta(days = 2):%Y-%m-%dT%H:00}"
# previously we had
# f"--starttime now-2days --endtime now --name {self.run_uuid}"
# in line 218 - once v20.11 is definitively not in use any more,
Expand Down Expand Up @@ -293,7 +293,7 @@ async def check_active_jobs(
elif status in fail_stati:
msg = (
f"SLURM-job '{j.external_jobid}' failed, SLURM status is: "
# message ends with '. ', because it is proceeded
# message ends with '. ', because it is proceeded
# with a new sentence
f"'{status}'. "
)
Expand Down

0 comments on commit 4d82365

Please sign in to comment.