Skip to content

Commit

Permalink
use f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoLegends committed Nov 4, 2024
1 parent 909ae4c commit 39fd9e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def submit_helper(self, call, logpath, rqmt, name, task_name, start_id, end_id,
:param int step_size:
"""
name = self.process_task_name(name)
out_log_file = logpath + "/%x.%A.%a"
out_log_file = f"{logpath}/%x.%A.%a"
if rqmt.get("multi_node_slots", 1) > 1:
out_log_file += ".%t"
sbatch_call = ["sbatch", "-J", name, "--mail-type=None"]
Expand Down

0 comments on commit 39fd9e6

Please sign in to comment.