CVMappingRule
- class pyopenms.CVMappingRule
Bases:
objectCython implementation of _CVMappingRule
Original C++ documentation is available here
- __init__()
Overload:
- __init__(self) None
Overload:
- __init__(self, in_0: CVMappingRule) None
Methods
Overload:
addCVTerm(self, cv_terms)Adds a term to the allowed terms
getCVTerms(self)Returns the allowed terms
getCombinationsLogic(self)Returns the combinations operator of the rule
getElementPath(self)Returns the path of the DOM element, where this rule is allowed
getIdentifier(self)Returns the identifier of the rule
getRequirementLevel(self)Returns the requirement level of this rule
getScopePath(self)Returns the scope path of the rule
setCVTerms(self, cv_terms)Sets the terms which are allowed
setCombinationsLogic(self, combinations_logic)Sets the combination operator of the rule
setElementPath(self, element_path)Sets the path of the DOM element, where this rule is allowed
setIdentifier(self, identifier)Sets the identifier of the rule
setRequirementLevel(self, level)Sets the requirement level of this rule
setScopePath(self, path)Sets the scope path of the rule
- CombinationsLogic
alias of
pyopenms._pyopenms_6.__CombinationsLogic
- RequirementLevel
alias of
pyopenms._pyopenms_6.__RequirementLevel
- addCVTerm(self, cv_terms: CVMappingTerm) None
Adds a term to the allowed terms
- getCVTerms(self) List[CVMappingTerm]
Returns the allowed terms
- getCombinationsLogic(self) int
Returns the combinations operator of the rule
- getElementPath(self) Union[bytes, str, String]
Returns the path of the DOM element, where this rule is allowed
- getRequirementLevel(self) int
Returns the requirement level of this rule
- setCVTerms(self, cv_terms: List[CVMappingTerm]) None
Sets the terms which are allowed
- setCombinationsLogic(self, combinations_logic: int) None
Sets the combination operator of the rule
- setElementPath(self, element_path: Union[bytes, str, String]) None
Sets the path of the DOM element, where this rule is allowed
- setRequirementLevel(self, level: int) None
Sets the requirement level of this rule