Skip to content

Commit

Permalink
solve code QL
Browse files Browse the repository at this point in the history
  • Loading branch information
HydrogenSulfate committed Dec 3, 2024
1 parent 617a258 commit 6e5ebb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/tests/pd/model/test_descriptor_dpa2.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ def test_descriptor(self) -> None:
ntypes = len(model_dpa2["type_map"])
dparams = model_dpa2["descriptor"]
dparams["ntypes"] = ntypes
assert dparams.pop("type") == "dpa2"
assert dparams["type"] == "dpa2"
dparams.pop("type")
dparams["concat_output_tebd"] = False
dparams["use_tebd_bias"] = True
des = DescrptDPA2(
Expand Down

0 comments on commit 6e5ebb3

Please sign in to comment.