We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e79b9c0 commit 1bbb03aCopy full SHA for 1bbb03a
tests/test_examples.py
@@ -19,7 +19,7 @@ def test_example_yamls(fname):
19
args = yaml.load(f, Loader=yaml.FullLoader)
20
21
prior = None
22
- if args["prior_model"] is not None:
+ if "prior_model" in args and args["prior_model"] is not None:
23
dataset = DummyDataset(has_atomref=True)
24
prior = getattr(priors, args["prior_model"])(dataset=dataset)
25
0 commit comments