Skip to content

Commit

Permalink
Add structure change data to parsing of PES Scan calculations
Browse files Browse the repository at this point in the history
  • Loading branch information
espottesmith committed Jan 31, 2022
1 parent 7427d47 commit b94aac6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions pymatgen/io/qchem/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,11 @@ def _read_scan_data(self):
self.data["energy_trajectory"] = real_energy_trajectory

self._read_geometries()
if have_babel:
self.data["structure_change"] = check_for_structure_changes(
self.data["initial_molecule"],
self.data["molecule_from_last_geometry"],
)
self._read_gradients()

if len(self.data.get("errors")) == 0:
Expand Down
2 changes: 1 addition & 1 deletion pymatgen/io/qchem/tests/multi_job.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pymatgen/io/qchem/tests/single_job.json

Large diffs are not rendered by default.

0 comments on commit b94aac6

Please sign in to comment.