Skip to content

Commit

Permalink
pre-commit auto-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Apr 1, 2024
1 parent 1111462 commit 2f9abab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custodian/lobster/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ def run(self, directory="./"):
zopen(os.path.join(directory, self.stderr_file), "w", buffering=1) as f_err,
):
# use line buffering for stderr
cmd = ' '.join(cmd) # to join split commands (e.g., from atomate and atomate2)
return subprocess.run(cmd, stdout=f_std, stderr=f_err, shell=True) # pylint: disable=R1732
cmd = " ".join(cmd) # to join split commands (e.g., from atomate and atomate2)
return subprocess.run(cmd, stdout=f_std, stderr=f_err, shell=True, check=False) # pylint: disable=R1732

def postprocess(self, directory="./"):
"""Will gzip relevant files (won't gzip custodian.json and other output files from the cluster)."""
Expand Down

0 comments on commit 2f9abab

Please sign in to comment.