phenopacket_mapper.validate.validate module
- class phenopacket_mapper.validate.validate.Validator(*args, **kwargs)[source]
Bases:
object
Internal class, implemented using the singleton pattern, that uses phenopacket-tools to validate phenopackets. This is complicated a bit by the fact that phenopacket-tools is implemented in java. The singleton pattern ensures that only one instance of the class is created for efficiency purposes.