Skip to content

Commit fcbcbc1

Browse files
committed
Update run.py
1 parent d16fbbc commit fcbcbc1

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

dpgen/generator/run.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3821,8 +3821,6 @@ def make_fp_calculation(iter_index, jdata, mdata):
38213821
make_fp_amber_diff(iter_index, jdata)
38223822
elif fp_style == "custom":
38233823
make_fp_custom(iter_index, jdata)
3824-
elif fp_style == "gpaw":
3825-
make_fp_gpaw(iter_index, jdata, fp_name)
38263824
else:
38273825
raise RuntimeError("unsupported fp style")
38283826
# Copy user defined forward_files
@@ -4141,19 +4139,6 @@ def run_fp(iter_index, jdata, mdata):
41414139
None,
41424140
log_file="output",
41434141
)
4144-
elif fp_style == "gpaw":
4145-
gpaw_runfile = jdata["fp_gpaw_runfile"]
4146-
forward_files = ["POSCAR", gpaw_runfile]
4147-
backward_files = ["conf_ase.traj", "calc.txt", "run.log"]
4148-
run_fp_inner(
4149-
iter_index,
4150-
jdata,
4151-
mdata,
4152-
forward_files,
4153-
backward_files,
4154-
None,
4155-
log_file="run.log",
4156-
)
41574142
else:
41584143
raise RuntimeError("unsupported fp style")
41594144

@@ -4675,8 +4660,6 @@ def post_fp(iter_index, jdata):
46754660
post_fp_amber_diff(iter_index, jdata)
46764661
elif fp_style == "custom":
46774662
post_fp_custom(iter_index, jdata)
4678-
elif fp_style == "gpaw":
4679-
post_fp_gpaw(iter_index, jdata, fp_name)
46804663
else:
46814664
raise RuntimeError("unsupported fp style")
46824665
post_fp_check_fail(iter_index, jdata)

0 commit comments

Comments
 (0)