From 2914c88d90307b28db624456ff7635c7626bec29 Mon Sep 17 00:00:00 2001 From: Zishen Wang <64644075+zz11ss11zz@users.noreply.github.com> Date: Sat, 21 Sep 2024 21:56:03 -0700 Subject: [PATCH] Update dft.py Signed-off-by: Zishen Wang <64644075+zz11ss11zz@users.noreply.github.com> --- src/maml/apps/bowsr/model/dft.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/maml/apps/bowsr/model/dft.py b/src/maml/apps/bowsr/model/dft.py index e4d80003..bae86587 100644 --- a/src/maml/apps/bowsr/model/dft.py +++ b/src/maml/apps/bowsr/model/dft.py @@ -74,4 +74,4 @@ def predict_energy(self, structure: Structure): entry = compat.process_entry(vrun.get_computed_entry()) return (entry.energy - sum(elements[el]["energy_per_atom"] * amt for el, amt in el_amt_dict.items())) / len( structure - ) + ) # type: ignore