CVMappingTerm#
- class pyopenms.CVMappingTerm#
Bases:
objectOpenMS class CVMappingTerm
- __init__() None#
- __init__(arg: pyopenms.CVMappingTerm, /) None
Methods
__init__()Returns the accession string of the term
Returns true if the children of this term are allowed to be used
Returns the CV identifier reference string
Returns true if this term can be repeated, false otherwise
Returns the name of the term
Returns true if the term can be used, false if only children are allowed
Returns whether the term name should be used, instead of the accession
setAccession(accession)Sets the accession string of the term
setAllowChildren(allow_children)Sets whether children of this term are allowed
setCVIdentifierRef(cv_identifier_ref)Sets the CV identifier reference string, e.g. UO for unit obo.
setIsRepeatable(is_repeatable)Sets whether this term can be repeated
setTermName(term_name)Sets the name of the term
setUseTerm(use_term)Sets whether the term itself can be used (or only its children)
setUseTermName(use_term_name)Sets whether the term name should be used, instead of the accession
- getAccession() str#
Returns the accession string of the term
- getAllowChildren() bool#
Returns true if the children of this term are allowed to be used
- getCVIdentifierRef() str#
Returns the CV identifier reference string
- getIsRepeatable() bool#
Returns true if this term can be repeated, false otherwise
- getTermName() str#
Returns the name of the term
- getUseTerm() bool#
Returns true if the term can be used, false if only children are allowed
- getUseTermName() bool#
Returns whether the term name should be used, instead of the accession
- setAccession(accession: str) None#
Sets the accession string of the term
- setAllowChildren(allow_children: bool) None#
Sets whether children of this term are allowed
- setCVIdentifierRef(cv_identifier_ref: str) None#
Sets the CV identifier reference string, e.g. UO for unit obo
- setIsRepeatable(is_repeatable: bool) None#
Sets whether this term can be repeated
- setTermName(term_name: str) None#
Sets the name of the term
- setUseTerm(use_term: bool) None#
Sets whether the term itself can be used (or only its children)
- setUseTermName(use_term_name: bool) None#
Sets whether the term name should be used, instead of the accession