diff --git a/src/atomate2/turbomole/custodian/jobs.py b/src/atomate2/turbomole/custodian/jobs.py index a05f0e7..92da50b 100644 --- a/src/atomate2/turbomole/custodian/jobs.py +++ b/src/atomate2/turbomole/custodian/jobs.py @@ -50,9 +50,10 @@ def run(self, directory="./"): """ cmd = [self.executable, *self.options] - with open(self.output_file, "w") as f_out, open( - self.stderr_file, "w", buffering=1 - ) as f_err: + with ( + open(self.output_file, "w") as f_out, + open(self.stderr_file, "w", buffering=1) as f_err, + ): p = subprocess.Popen(cmd, stdout=f_out, stderr=f_err) return p