Skip to content

Commit

Permalink
Fix inconsistency of host_symm_struct attribute name in MigrationHop
Browse files Browse the repository at this point in the history
  • Loading branch information
acrutt committed Jul 21, 2022
1 parent c4b40cf commit 06fb10d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymatgen/analysis/diffusion/neb/pathfinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def __init__(
self.symprec = symprec
self.msite = PeriodicSite(esite.specie, (isite.frac_coords + esite.frac_coords) / 2, esite.lattice)
if host_symm_struct:
sg = self.host_symm_structure.spacegroup
sg = self.host_symm_struct.spacegroup
else:
sg = self.symm_structure.spacegroup
for i, sites in enumerate(self.symm_structure.equivalent_sites):
Expand Down

0 comments on commit 06fb10d

Please sign in to comment.