From 8fd2b8f8f00a156c436772f8f262578ceec1384c Mon Sep 17 00:00:00 2001 From: Sreekant Baheti <60787859+Sreekant13@users.noreply.github.com> Date: Tue, 30 Jun 2026 16:20:59 -0700 Subject: [PATCH] Fix AttributeError in ABACUS Gamma __stru_fix (self.addfix -> self.add_fix) --- dpgen/auto_test/Gamma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpgen/auto_test/Gamma.py b/dpgen/auto_test/Gamma.py index 4ea93693e..6bce02380 100644 --- a/dpgen/auto_test/Gamma.py +++ b/dpgen/auto_test/Gamma.py @@ -369,7 +369,7 @@ def __poscar_fix(self, poscar) -> None: def __stru_fix(self, stru) -> None: fix_dict = {"true": True, "false": False} - fix_xyz = [fix_dict[i] for i in self.addfix] + fix_xyz = [fix_dict[i] for i in self.add_fix] abacus.stru_fix_atom(stru, fix_atom=fix_xyz) def __inLammpes_fix(self, inLammps) -> None: