TransitionTSVFile#

class pyopenms.TransitionTSVFile#

Bases: object

Cython implementation of _TransitionTSVFile

Original C++ documentation is available here

– Inherits from [‘ProgressLogger’]

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, in_0: TransitionTSVFile) None

Methods

__init__

Overload:

convertTSVToTargetedExperiment

Overload:

convertTargetedExperimentToTSV(self, ...)

Write out a targeted experiment (TraML structure) into a tsv file

endProgress(self)

Ends the progress display

getLogType(self)

Returns the type of progress log being used

nextProgress(self)

Increment progress by 1 (according to range begin-end)

setLogType(self, in_0)

Sets the progress log that should be used.

setProgress(self, value)

Sets the current progress

startProgress(self, begin, end, label)

validateTargetedExperiment(self, targeted_exp)

Validate a TargetedExperiment (check that all ids are unique)

convertTSVToTargetedExperiment()#

Overload:

convertTSVToTargetedExperiment(self, filename: bytes, filetype: int, targeted_exp: TargetedExperiment) None

Read in a tsv/mrm file and construct a targeted experiment (TraML structure)

Overload:

convertTSVToTargetedExperiment(self, filename: bytes, filetype: int, targeted_exp: LightTargetedExperiment) None

Read in a tsv file and construct a targeted experiment (Light transition structure)

convertTargetedExperimentToTSV(self, filename: bytes, targeted_exp: TargetedExperiment) None#

Write out a targeted experiment (TraML structure) into a tsv file

endProgress(self) None#

Ends the progress display

getLogType(self) int#

Returns the type of progress log being used

nextProgress(self) None#

Increment progress by 1 (according to range begin-end)

setLogType(self, in_0: int) None#

Sets the progress log that should be used. The default type is NONE!

setProgress(self, value: int) None#

Sets the current progress

startProgress(self, begin: int, end: int, label: bytes | str | String) None#
validateTargetedExperiment(self, targeted_exp: TargetedExperiment) None#

Validate a TargetedExperiment (check that all ids are unique)