From 4b01685af3f57ccc88f8ea7659692e40ca728383 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 30 Jan 2024 08:24:51 +0000 Subject: [PATCH] GitHub Action: Apply Pep8-formatting --- config.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/config.py b/config.py index 37c4b9aa..bab601d7 100644 --- a/config.py +++ b/config.py @@ -388,12 +388,14 @@ def submit(self, job_name, script, add_dep=None): sbatch_cmd.append(script_path.name) try: - result = run(sbatch_cmd, cwd=script_path.parent, - capture_output=True, check=True) + result = run(sbatch_cmd, + cwd=script_path.parent, + capture_output=True, + check=True) except CalledProcessError as e: with open(self.logfile('a')) as f: f.write(e) - raise(e) + raise (e) job_id = int(result.stdout) print(f' └── Submitted batch job {job_id}')