Skip to content

Commit 8fd2b8f

Browse files
committed
Fix AttributeError in ABACUS Gamma __stru_fix (self.addfix -> self.add_fix)
1 parent 7af5246 commit 8fd2b8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎dpgen/auto_test/Gamma.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def __poscar_fix(self, poscar) -> None:
369369

370370
def __stru_fix(self, stru) -> None:
371371
fix_dict = {"true": True, "false": False}
372-
fix_xyz = [fix_dict[i] for i in self.addfix]
372+
fix_xyz = [fix_dict[i] for i in self.add_fix]
373373
abacus.stru_fix_atom(stru, fix_atom=fix_xyz)
374374

375375
def __inLammpes_fix(self, inLammps) -> None:

0 commit comments

Comments
 (0)