mzx package

Submodules

mzx.cli module

mzx.cli.main()[source]

mzx.gui module

class mzx.gui.ConverterThread(params: TConfig, parent: QWidget | None = None)[source]

Bases: QThread

finished
run()[source]
staticMetaObject = PySide6.QtCore.QMetaObject("ConverterThread" inherits "QThread": )
class mzx.gui.MainWindow[source]

Bases: QMainWindow

closeEvent(event)[source]
convert(path: str) None[source]
dragEnterEvent(event: QDropEvent) None[source]
dragLeaveEvent(_event: QDragLeaveEvent) None[source]
dropEvent(event: QDropEvent) None[source]
initUI()[source]
on_conversion_complete()[source]

Slot that runs when the conversion thread finishes.

show_popup(message: str) QMessageBox[source]
staticMetaObject = PySide6.QtCore.QMetaObject("MainWindow" inherits "QMainWindow": )
mzx.gui.main()[source]

Module contents

mzx.convert_raw_file(params: TConfig) str[source]

Convert the raw file to mzML format based on the vendor.

mzx.format_function_number(s)[source]
mzx.modify_waters_scan_header(line)[source]

Modify the Waters scan header line.

mzx.msconvert(params)[source]

Converts the given file to the mzML format using the msconvert tool.

mzx.process_waters_scan_headers(file_path)[source]

Process the Waters scan headers in the given file.

mzx.run_cmd(cmd)[source]

Run a command and return the output.

mzx.waters_convert(file, two_pass=False)[source]

Convert Waters raw file to mzML format.