CVMappingTerm#

class pyopenms.CVMappingTerm#

Bases: object

Cython implementation of _CVMappingTerm

Original C++ documentation is available here

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, in_0: CVMappingTerm) None

Methods

__init__

Overload:

getAccession(self)

Returns the accession string of the term

getAllowChildren(self)

Returns true if the children of this term are allowed to be used

getCVIdentifierRef(self)

Returns the CV identifier reference string

getIsRepeatable(self)

Returns true if this term can be repeated, false otherwise

getTermName(self)

Returns the name of the term

getUseTerm(self)

Returns true if the term can be used, false if only children are allowed

getUseTermName(self)

Returns whether the term name should be used, instead of the accession

setAccession(self, accession)

Sets the accession string of the term

setAllowChildren(self, allow_children)

Sets whether children of this term are allowed

setCVIdentifierRef(self, cv_identifier_ref)

Sets the CV identifier reference string, e.g.

setIsRepeatable(self, is_repeatable)

Sets whether this term can be repeated

setTermName(self, term_name)

Sets the name of the term

setUseTerm(self, use_term)

Sets whether the term itself can be used (or only its children)

setUseTermName(self, use_term_name)

Sets whether the term name should be used, instead of the accession

getAccession(self) bytes | str | String#

Returns the accession string of the term

getAllowChildren(self) bool#

Returns true if the children of this term are allowed to be used

getCVIdentifierRef(self) bytes | str | String#

Returns the CV identifier reference string

getIsRepeatable(self) bool#

Returns true if this term can be repeated, false otherwise

getTermName(self) bytes | str | String#

Returns the name of the term

getUseTerm(self) bool#

Returns true if the term can be used, false if only children are allowed

getUseTermName(self) bool#

Returns whether the term name should be used, instead of the accession

setAccession(self, accession: bytes | str | String) None#

Sets the accession string of the term

setAllowChildren(self, allow_children: bool) None#

Sets whether children of this term are allowed

setCVIdentifierRef(self, cv_identifier_ref: bytes | str | String) None#

Sets the CV identifier reference string, e.g. UO for unit obo

setIsRepeatable(self, is_repeatable: bool) None#

Sets whether this term can be repeated

setTermName(self, term_name: bytes | str | String) None#

Sets the name of the term

setUseTerm(self, use_term: bool) None#

Sets whether the term itself can be used (or only its children)

setUseTermName(self, use_term_name: bool) None#

Sets whether the term name should be used, instead of the accession