From 4d823656d31cf2a30b062fd583ef60c12ace1069 Mon Sep 17 00:00:00 2001 From: Christian Meesters Date: Tue, 14 May 2024 11:32:09 +0200 Subject: [PATCH] fix: formatting --- snakemake_executor_plugin_slurm/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snakemake_executor_plugin_slurm/__init__.py b/snakemake_executor_plugin_slurm/__init__.py index 06e1a7f..2c958ef 100644 --- a/snakemake_executor_plugin_slurm/__init__.py +++ b/snakemake_executor_plugin_slurm/__init__.py @@ -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, @@ -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}'. " )