Skip to content

Commit

Permalink
remove response
Browse files Browse the repository at this point in the history
  • Loading branch information
chiang-yuan committed Apr 23, 2024
1 parent 01f0283 commit 3f3a438
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pymatgen/command_line/chargemol_caller.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,7 @@ def _execute_chargemol(self, **job_control_kwargs):
with open(os.path.join(temp_dir, "job_control.txt"), mode="w") as file:
file.write(lines)

response = subprocess.run(CHARGEMOL_EXE, capture_output=True, check=False)
_stdout = response.stdout.decode("utf-8")
response.stderr.decode("utf-8")
subprocess.run(CHARGEMOL_EXE, capture_output=True, check=True)

self._from_data_dir(chargemol_output_path=temp_dir)

Expand Down

0 comments on commit 3f3a438

Please sign in to comment.