TraMLProduct
- class pyopenms.TraMLProduct
Bases:
objectCython implementation of _TraMLProduct
- Original C++ documentation is available here
– Inherits from [‘CVTermList’]
- __init__()
Overload:
- __init__(self) None
Overload:
- __init__(self, in_0: TraMLProduct) None
Methods
Overload:
addCVTerm(self, term)Adds a CV term
addConfiguration(self, configuration)addInterpretation(self, interpretation)clearMetaInfo(self)Removes all meta values
consumeCVTerms(self, cv_term_map)Merges the given map into the member map, no duplicate checking
empty(self)getCVTerms(self)Returns the accession string of the term
getChargeState(self)getConfigurationList(self)getInterpretationList(self)getKeys(self, keys)Fills the given vector with a list of all keys for which a value is set
getMZ(self)getMetaValue(self, in_0)Returns the value corresponding to a string, or
hasCVTerm(self, accession)hasCharge(self)isMetaEmpty(self)Returns if the MetaInfo is empty
metaRegistry(self)Returns a reference to the MetaInfoRegistry
metaValueExists(self, in_0)Returns whether an entry with the given name exists
removeMetaValue(self, in_0)Removes the DataValue corresponding to name if it exists
replaceCVTerm(self, term)Replaces the specified CV term
replaceCVTerms(self, cv_terms, accession)resetInterpretations(self)setCVTerms(self, terms)Sets the CV terms
setChargeState(self, charge)setMZ(self, mz)setMetaValue(self, in_0, in_1)Sets the DataValue corresponding to a name
- addConfiguration(self, configuration: Configuration) None
- addInterpretation(self, interpretation: TargetedExperiment_Interpretation) None
- clearMetaInfo(self) None
Removes all meta values
- consumeCVTerms(self, cv_term_map: Dict[bytes, List[CVTerm]]) None
Merges the given map into the member map, no duplicate checking
- empty(self) bool
- getChargeState(self) int
- getConfigurationList(self) List[Configuration]
- getInterpretationList(self) List[TargetedExperiment_Interpretation]
- getKeys(self, keys: List[bytes]) None
Fills the given vector with a list of all keys for which a value is set
- getMZ(self) float
- getMetaValue(self, in_0: Union[bytes, str, String]) Union[int, float, bytes, str, List[int], List[float], List[bytes]]
Returns the value corresponding to a string, or
- hasCharge(self) bool
- isMetaEmpty(self) bool
Returns if the MetaInfo is empty
- metaRegistry(self) MetaInfoRegistry
Returns a reference to the MetaInfoRegistry
- metaValueExists(self, in_0: Union[bytes, str, String]) bool
Returns whether an entry with the given name exists
- removeMetaValue(self, in_0: Union[bytes, str, String]) None
Removes the DataValue corresponding to name if it exists
- resetInterpretations(self) None
- setChargeState(self, charge: int) None
- setMZ(self, mz: float) None