Skip to content

Commit

Permalink
Update simplify.py
Browse files Browse the repository at this point in the history
  • Loading branch information
thangckt committed May 7, 2024
1 parent ef1df18 commit 11dca54
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 @@ -188,7 +188,7 @@ def make_model_devi(iter_index, jdata, mdata):
train_path = os.path.join(iter_name, train_name)
train_path = os.path.abspath(train_path)
suffix = _get_model_suffix(jdata)
models = glob.glob(os.path.join(train_path, "graph*%s" % suffix))
models = glob.glob(os.path.join(train_path, f"graph*{suffix}"))

for mm in models:
model_name = os.path.basename(mm)
Expand Down

0 comments on commit 11dca54

Please sign in to comment.