-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Diverse Validation enhancements (#31)
* check for missing TRAPI Attribute 'attribute_type_id' and 'value' fields. * validating the attribute_type_id be a CURIE, is an association_slot or, have a prefix known to Biolink * check for deprecated, abstract and mixin classes * DRY refactoring of category validation to reduce code duplication in input edge validation
- Loading branch information
1 parent
2920ba5
commit 57a8cf8
Showing
6 changed files
with
362 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
# Tests | ||
|
||
- [test_biolink_compliance_validation.py](translator/biolink/test_biolink_compliance_validation.py) Version-specific Biolink Model semantic compliance test harness unit tests: | ||
- [test_semver](translator/biolink/test_semver.py) testing SemVer code (mostly used by TRAPI) | ||
- [test_biolink_compliance_validation](translator/biolink/test_biolink_compliance_validation.py) Version-specific Biolink Model semantic compliance test harness unit tests: | ||
- **test_set_default_biolink_versioned_global_environment:** testing default Biolink Model release | ||
- **test_set_specific_biolink_versioned_global_environment:** testing specific Biolink Model release | ||
- **test_minimum_required_biolink_version:** testing minimal threshold Biolink Model release | ||
- **test_check_biolink_model_compliance_of_input_edge:** test of KP data template test input edges validation | ||
- **test_check_biolink_model_compliance_of_query_graph:** test of TRAPI output query graph validation | ||
- **test_check_biolink_model_compliance_of_knowledge_graph:** test of TRAPI output knowledge graphs validation | ||
- [test_validator](translator/biolink/test_validator.py) tests for TRAPI validator |
Oops, something went wrong.