diff --git a/snakemake_executor_plugin_slurm/__init__.py b/snakemake_executor_plugin_slurm/__init__.py index ef12e901..e17d72b0 100644 --- a/snakemake_executor_plugin_slurm/__init__.py +++ b/snakemake_executor_plugin_slurm/__init__.py @@ -208,7 +208,7 @@ def run_job(self, job: JobExecutorInterface): f"--job-name {self.run_uuid} " f"--output '{slurm_logfile}' " f"--export=ALL " - f"--comment {comment_str}" + f"--comment '{comment_str}'" ) call += self.get_account_arg(job)