CVMappings
- class pyopenms.CVMappings
Bases:
objectCython implementation of _CVMappings
Original C++ documentation is available here
- __init__()
Overload:
- __init__(self) None
Overload:
- __init__(self, in_0: CVMappings) None
Methods
Overload:
addCVReference(self, cv_reference)Adds a CV reference
addMappingRule(self, cv_mapping_rule)Adds a mapping rule
getCVReferences(self)Returns the CV references
getMappingRules(self)Returns the mapping rules
hasCVReference(self, identifier)Returns true if a CV reference is given
setCVReferences(self, cv_references)Sets the CV references
setMappingRules(self, cv_mapping_rules)Sets the mapping rules of the mapping file
- addCVReference(self, cv_reference: CVReference) None
Adds a CV reference
- addMappingRule(self, cv_mapping_rule: CVMappingRule) None
Adds a mapping rule
- getCVReferences(self) List[CVReference]
Returns the CV references
- getMappingRules(self) List[CVMappingRule]
Returns the mapping rules
- hasCVReference(self, identifier: Union[bytes, str, String]) bool
Returns true if a CV reference is given
- setCVReferences(self, cv_references: List[CVReference]) None
Sets the CV references
- setMappingRules(self, cv_mapping_rules: List[CVMappingRule]) None
Sets the mapping rules of the mapping file