Skip to content

Commit

Permalink
Fixed a small issue with the erroneous attribute call on a Structure …
Browse files Browse the repository at this point in the history
…object. (#297)
  • Loading branch information
fyalcin authored Nov 5, 2023
1 parent 133865e commit 22d1956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custodian/vasp/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,7 @@ def correct(self):

# NOTE: This is the amin error handler
# Sometimes an AMIN warning can appear with large unit cell dimensions, so we'll address it now
if np.max(Structure.from_file("CONTCAR").structure.lattice.abc) > 50.0 and amin > 0.01:
if np.max(Structure.from_file("CONTCAR").lattice.abc) > 50.0 and amin > 0.01:
actions.append({"dict": "INCAR", "action": {"_set": {"AMIN": 0.01}}})

# If a hybrid is used, do not set Algo = Fast or VeryFast. Hybrid calculations do not
Expand Down

0 comments on commit 22d1956

Please sign in to comment.