Skip to content

Commit

Permalink
use prop not default
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamd committed Mar 2, 2021
1 parent 3242d1c commit f6cce6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emmet-core/emmet/core/vasp/validation.py
Expand Up @@ -130,7 +130,7 @@ def from_task_doc(
]
max_gradient = np.max(np.gradient(energies)[skip:])
data["max_gradient"] = max_gradient
if max_gradient > SETTINGS.VASP_MAX_SCF_GRADIENT:
if max_gradient > max_allowed_scf_gradient:
reasons.append(DeprecationMessage.MAX_SCF)

doc = ValidationDoc(
Expand Down

0 comments on commit f6cce6c

Please sign in to comment.