Skip to content

Commit

Permalink
Update simplify.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HuangJiameng committed Jul 5, 2022
1 parent 54e01f8 commit 54c2f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpgen/simplify/simplify.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def post_model_devi(iter_index, jdata, mdata):
sys_failed = dpdata.MultiSystems()

labeled = jdata.get("labeled", False)
sys_entire = dpdata.MultiSystems().from_deepmd_npy(os.path.join(work_path, rest_data_name + ".old"), labeled)
sys_entire = dpdata.MultiSystems().from_deepmd_npy(os.path.join(work_path, rest_data_name + ".old"), labeled=labeled)

detail_file_name = detail_file_name_prefix
with open(os.path.join(work_path, detail_file_name)) as f:
Expand Down

0 comments on commit 54c2f58

Please sign in to comment.