IndexedMzMLFileLoader#
- class pyopenms.IndexedMzMLFileLoader#
Bases:
objectA class to load an indexedmzML file
- __init__() None#
Methods
__init__()Returns the options for loading/storing
load(filename, exp)Load a file
setOptions(options)Sets the options for loading/storing
store(filename, exp)Overloaded function.
- getOptions() pyopenms.PeakFileOptions#
Returns the options for loading/storing
- load(filename: str, exp: pyopenms.OnDiscMSExperiment) bool#
Load a file
Tries to parse the file, success needs to be checked with the return value
- Parameters:
filename – Filename determines where the file is located
exp – Object which will contain the data after the call
- Returns:
Indicates whether parsing was successful (if it is false, the file most likely was not an mzML or not indexed)
- setOptions(options: pyopenms.PeakFileOptions) None#
Sets the options for loading/storing
- store(filename: str, exp: pyopenms.OnDiscMSExperiment) None#
- store(filename: str, exp: pyopenms.MSExperiment) None
Overloaded function.
store(filename: str, exp: pyopenms.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
store(filename: str, exp: pyopenms.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