mondolib.qc package
Submodules
mondolib.qc.term_validator module
mondolib term-validator.
- class mondolib.qc.term_validator.TermValidator(ontology=None, configuration=None)
Bases:
object
A bespoke Mondo validator.
-
configuration:
Configuration
= None
- get_candidate_obsoletion(term, threshold=0.0)
Given a term, yield the reasons why this should be obsoleted.
If there are no detectable reasons, return None
- Parameters:
term (
str
) –- Return type:
Optional
[CandidateObsoletion
]- Returns:
- get_mappings_by_source(term)
Get CURIE mappings.
- Return type:
Dict
[str
,str
]
- get_ontology_report(threshold=0.0)
Get report from the entire ontology.
- Return type:
- Returns:
- load_configuration(path=None)
Load configuration.
- Parameters:
path (
Optional
[str
]) – uses default if not specified- Return type:
None
- Returns:
-
ontology:
BasicOntologyInterface
= None
-
configuration:
Module contents
mondolib quality check.