CVTerm_ControlledVocabulary#

class pyopenms.CVTerm_ControlledVocabulary#

Bases: object

Cython implementation of _CVTerm_ControlledVocabulary

Original C++ documentation is available here

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, rhs: CVTerm_ControlledVocabulary) None

Methods

__init__

Overload:

getXRefTypeName(self, type)

isHigherBetterScore(self, term)

toXMLString

Overload:

Attributes

children#
description#
getXRefTypeName(self, type: int) bytes | str | String#
id#
isHigherBetterScore(self, term: CVTerm_ControlledVocabulary) bool#
name#
obsolete#
parents#
synonyms#
toXMLString()#

Overload:

toXMLString(self, ref: bytes | str | String, value: bytes | str | String) bytes | str | String

Get mzidentml formatted string. i.e. a cvparam xml element, ref should be the name of the ControlledVocabulary (i.e. cv.name()) containing the CVTerm (e.g. PSI-MS for the psi-ms.obo - gets loaded in all cases like that??), value can be empty if not available

Overload:

toXMLString(self, ref: bytes | str | String, value: int | float | bytes | str | List[int] | List[float] | List[bytes]) bytes | str | String

Get mzidentml formatted string. i.e. a cvparam xml element, ref should be the name of the ControlledVocabulary (i.e. cv.name()) containing the CVTerm (e.g. PSI-MS for the psi-ms.obo - gets loaded in all cases like that??), value can be empty if not available

units#
unparsed#
xref_binary#
xref_type#