MS2File

class pyopenms.MS2File

Bases: object

Cython implementation of _MS2File

Original C++ documentation is available here

– Inherits from [‘ProgressLogger’]

__init__()

Overload:

__init__(self) None

Overload:

__init__(self, in_0: MS2File) None

Methods

__init__

Overload:

endProgress(self)

Ends the progress display

getLogType(self)

Returns the type of progress log being used

load(self, filename, exp)

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)

endProgress(self) None

Ends the progress display

getLogType(self) int

Returns the type of progress log being used

load(self, filename: Union[bytes, str, String], exp: MSExperiment) None
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: Union[bytes, str, String]) None