From 2f9ababdb0f4f892acac6ad93cc4167b9850ae71 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 17:55:34 +0000 Subject: [PATCH] pre-commit auto-fixes --- custodian/lobster/jobs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custodian/lobster/jobs.py b/custodian/lobster/jobs.py index 072351b0..b4ee29d2 100644 --- a/custodian/lobster/jobs.py +++ b/custodian/lobster/jobs.py @@ -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)."""