Skip to content

Commit d189548

Browse files
committed
fix: unicode to ascii x
1 parent afb3026 commit d189548

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

snakemake_executor_plugin_slurm/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def _validate_status_command_settings(self):
365365
f"This may cause 'squeue' to report inaccurate "
366366
"job states and the status_command option may "
367367
"be unreliable. "
368-
"(Threshold is 3x status check interval: 3 × "
368+
"(Threshold is 3x status check interval: 3 x "
369369
f"{initial_interval}s = "
370370
f"{dynamic_check_threshold}s)"
371371
)
@@ -378,7 +378,7 @@ def _validate_status_command_settings(self):
378378
f"{dynamic_check_threshold}s). "
379379
f"The 'squeue' command should work reliably for "
380380
"status queries. "
381-
"(Threshold is 3x status check interval: 3 × "
381+
"(Threshold is 3x status check interval: 3 x "
382382
f"{initial_interval}s = "
383383
f"{dynamic_check_threshold}s)"
384384
)
@@ -653,14 +653,14 @@ async def check_active_jobs(
653653

654654
# decide which status command to use
655655
status_command = self.get_status_command()
656-
# getting the actual command with parameters
656+
# Getting the actual command with parameters.
657+
# Here, the commad will be a list generated with
658+
# shlex.split().
657659
if status_command == "sacct":
658660
status_command = query_job_status_sacct(self.run_uuid)
659661
elif status_command == "squeue":
660662
status_command = query_job_status_squeue(self.run_uuid)
661663

662-
# for better redability in verbose output
663-
status_command = " ".join(shlex.split(status_command))
664664
# this code is inspired by the snakemake profile:
665665
# https://github.com/Snakemake-Profiles/slurm
666666
for i in range(status_attempts):

0 commit comments

Comments
 (0)