IndexedMzMLFileLoader#
- class pyopenms.IndexedMzMLFileLoader#
Bases:
object
Cython implementation of _IndexedMzMLFileLoader
Original C++ documentation is available here
- __init__(self) None #
A class to load an indexedmzML file
Methods
__init__
(self)A class to load an indexedmzML file
getOptions
(self)Returns the options for loading/storing
load
(self, in_0, in_1)Load a file
setOptions
(self, in_0)Returns the options for loading/storing
Overload:
- getOptions(self) PeakFileOptions #
Returns the options for loading/storing
- load(self, in_0: bytes | str | String, in_1: OnDiscMSExperiment) bool #
Load a file
Tries to parse the file, success needs to be checked with the return value
- setOptions(self, in_0: PeakFileOptions) None #
Returns the options for loading/storing
- store()#
Overload:
- store(self, in_0: bytes | str | String, in_1: OnDiscMSExperiment) None
Store a file from an on-disc data-structure
- Parameters:
filename – Filename determines where the file will be stored
exp – MS data to be stored
Overload:
- store(self, in_0: bytes | str | String, in_1: MSExperiment) None
Store a file from an in-memory data-structure
- Parameters:
filename – Filename determines where the file will be stored
exp – MS data to be stored