proteobench.io.params.metamorpheus module#
Extract parameters from a MetaMorpheus TOML file and convert them to a pandas Series.
- proteobench.io.params.metamorpheus.extract_params(file_path_1, file_path_2) ProteoBenchParameters[source]#
- proteobench.io.params.metamorpheus.format_tolerances(tolerance: str) str[source]#
Format mass tolerance values from a string to a standardized format.
- proteobench.io.params.metamorpheus.load_files(file1: str | IO, file2: str | IO) Tuple[str | None, dict | None][source]#
Load two files (IO objects or file paths), returning: - The first line from a plain text file as the version string - A dictionary parsed from a TOML file