-
Notifications
You must be signed in to change notification settings - Fork 44
Description
Using ISA API v 0.12.2 and Python 3.8.10
When trying to validate an isajson.json file I get the following output:
2021-10-22 09:49:00,414 [INFO]: isajson.py(validate:1406) >> ISA JSON Validator from ISA tools API v0.12.
2021-10-22 09:49:00,414 [INFO]: isajson.py(validate:1415) >> Checking if encoding is UTF8
2021-10-22 09:49:00,426 [INFO]: isajson.py(validate:1417) >> Loading json from isajson/BII-I-1/BII-I-1.json
2021-10-22 09:49:00,493 [INFO]: isajson.py(validate:1419) >> Validating JSON against schemas using Draft4Validator
{'errors': [], 'warnings': [], 'validation_finished': True}
However, the validation seems to stop right before the following lines:
Lines 1420 to 1422 in 4f368de
| check_isa_schemas(isa_json=isa_json, | |
| investigation_schema_path=os.path.join(BASE_DIR, "resources", "schemas", base_schemas_dir, | |
| "core", "investigation_schema.json")) # Rule 0003 |
If I comment them out, I get a much longer report, indicating the none of the next checks are performed.
I have since tried using the more recent isajson.py with the same results.
The behavior is the same with ISAtools example files.