Skip to content

Commit 4471d17

Browse files
authored
fix a bug in make_abacus_relax (#1150)
1 parent c73ae2e commit 4471d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpgen/data/gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ def make_abacus_relax(jdata, mdata):
587587
if "relax_kpt" not in jdata:
588588
raise RuntimeError("Cannot find any k-points information.")
589589
else:
590-
md_kpt_path = jdata["relax_kpt"]
590+
relax_kpt_path = jdata["relax_kpt"]
591591
assert os.path.isfile(relax_kpt_path), (
592592
"file %s should exists" % relax_kpt_path
593593
)

0 commit comments

Comments
 (0)