MRMFeatureQCFile#
- class pyopenms.MRMFeatureQCFile#
Bases:
CsvFileFile adapter for MRMFeatureQC files
Loads and stores .csv or .tsv files describing an MRMFeatureQC
- __init__() None#
- __init__(arg: pyopenms.MRMFeatureQCFile, /) None
Methods
__init__()addLine(line)Appends a line to the internal buffer
addRow(list)Add a row to the buffer
clear()Clears the buffer
getRow(row)Writes all items from a row to list
load(filename, is_component_group)Loads an MRMFeatureQC file
store(filename)Stores the buffer's content into a file
- addLine(line: str) None#
Appends a line to the internal buffer
- addRow(list: list[str]) None#
Add a row to the buffer
- clear() None#
Clears the buffer
- getRow(row: int) tuple#
Writes all items from a row to list
- load(filename: str, is_component_group: bool) pyopenms.MRMFeatureQC#
Loads an MRMFeatureQC file
- Parameters:
filename – The path to the input file
is_component_group – True if the user intends to load ComponentGroupQCs data, false otherwise
- Returns:
The class which contains the criteria
- Raises:
Exception: FileNotFound is thrown if the file could not be opened
- Raises:
Exception: ParseError is thrown if an error occurs during parsing
- store(filename: str) None#
Stores the buffer’s content into a file