Skip to content

Commit

Permalink
revert removal of prior_model: null in ANI-2x config file as it cause…
Browse files Browse the repository at this point in the history
…s too many test failures
  • Loading branch information
stefdoerr committed Feb 20, 2024
1 parent 1bbb03a commit eede5d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/TensorNet-ANI2X.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ num_rbf: 32
num_workers: 4
output_model: Scalar
precision: 32
prior_model: null
remove_ref_energy: true
rbf_type: expnorm
redirect: false
Expand Down
2 changes: 1 addition & 1 deletion tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_example_yamls(fname):
args = yaml.load(f, Loader=yaml.FullLoader)

prior = None
if "prior_model" in args and args["prior_model"] is not None:
if args["prior_model"] is not None:
dataset = DummyDataset(has_atomref=True)
prior = getattr(priors, args["prior_model"])(dataset=dataset)

Expand Down

0 comments on commit eede5d7

Please sign in to comment.