phenopacket_mapper.preprocessing.preprocess module
- phenopacket_mapper.preprocessing.preprocess.preprocess(value: Any, mapping: Dict | Callable, **kwargs) Any [source]
Preprocess a value before mapping to a Phenopacket.
Relies on preprocess_dict and preprocess_method to preprocess using a dictionary or method, respectively. Please consult the documentation for these functions for more information.