From 5b6692668ac54b5267c35856f6de3503c43c22e5 Mon Sep 17 00:00:00 2001 From: Jannis Speer Date: Mon, 25 Mar 2024 13:06:45 +0100 Subject: [PATCH] fix: logger messages --- snakemake_executor_plugin_htcondor/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snakemake_executor_plugin_htcondor/__init__.py b/snakemake_executor_plugin_htcondor/__init__.py index 8e85ab5..1b44d56 100644 --- a/snakemake_executor_plugin_htcondor/__init__.py +++ b/snakemake_executor_plugin_htcondor/__init__.py @@ -159,7 +159,7 @@ def run_job(self, job: JobExecutorInterface): self.logger.info( f"Job {job.jobid} submitted to " - "HTCondor Cluster ID {submit_result.cluster()}\n" + f"HTCondor Cluster ID {submit_result.cluster()}\n" f"The logs of the HTCondor job are stored " f"in {self.jobDir}/{submit_result.cluster()}.log" ) @@ -262,7 +262,7 @@ async def check_active_jobs( "HTCondor Cluster ID " f"{current_job.external_jobid} has " f" status {status_dict[str(job_status[0]['JobStatus'])]}, " - "but failed with" + "but failed with " f"ExitCode {job_status[0]['ExitCode']}.", ) # Errored jobs