NoopMSDataWritingConsumer#

class pyopenms.NoopMSDataWritingConsumer#

Bases: object

Cython implementation of _NoopMSDataWritingConsumer

Original C++ documentation is available here

Consumer class that perform no operation

This is sometimes necessary to fulfill the requirement of passing an valid MSDataWritingConsumer object or pointer but no operation is required

__init__(self, filename: bytes | str | String) None#

Methods

__init__(self, filename)

addDataProcessing(self, d)

consumeChromatogram(self, c)

consumeSpectrum(self, s)

getNrChromatogramsWritten(self)

getNrSpectraWritten(self)

setExpectedSize(self, expectedSpectra, ...)

setExperimentalSettings(self, exp)

addDataProcessing(self, d: DataProcessing) None#
consumeChromatogram(self, c: MSChromatogram) None#
consumeSpectrum(self, s: MSSpectrum) None#
getNrChromatogramsWritten(self) int#
getNrSpectraWritten(self) int#
setExpectedSize(self, expectedSpectra: int, expectedChromatograms: int) None#
setExperimentalSettings(self, exp: ExperimentalSettings) None#