Skip to content

Commit

Permalink
GitHub Action: Apply Pep8-formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jan 30, 2024
1 parent 97b2fa5 commit 4b01685
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}')
Expand Down

0 comments on commit 4b01685

Please sign in to comment.