Skip to content

Commit 860b346

Browse files
committed
Fix jsonschema version
1 parent ffb555e commit 860b346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aiida_lammps/validation/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ def validate_against_schema(data: dict, filename: Union[str, os.PathLike]):
1919
with open(filename, encoding="utf8") as handler:
2020
schema = json.load(handler)
2121

22-
jsonschema.validate(schema=schema, instance=data)
22+
jsonschema.validate(schema=schema, instance=data, cls=jsonschema.Draft4Validator)

0 commit comments

Comments
 (0)