From cfc54799c14025baad8ef48158d7c0ed1998b082 Mon Sep 17 00:00:00 2001 From: Yasset Perez-Riverol Date: Mon, 13 Jan 2025 17:11:11 +0000 Subject: [PATCH] remove dependency of python. --- quantmsrescore/ms2rescore.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/quantmsrescore/ms2rescore.py b/quantmsrescore/ms2rescore.py index 6761d0b..84ac935 100644 --- a/quantmsrescore/ms2rescore.py +++ b/quantmsrescore/ms2rescore.py @@ -276,8 +276,7 @@ def rescore_idxml(input_file, output_file, config) -> None: ) exp.setSpectra(spec) output_dir = os.path.dirname(config["ms2rescore"]["output_path"]) - mzml_output = os.path.join(output_dir, - os.path.splitext(os.path.basename(config["ms2rescore"]["spectrum_path"]))[0] + "_clear.mzML") + mzml_output = os.path.join(output_dir, os.path.splitext(os.path.basename(config["ms2rescore"]["spectrum_path"]))[0] + "_clear.mzML") oms.MzMLFile().store(mzml_output, exp) config["ms2rescore"]["spectrum_path"] = mzml_output # TODO: Add cleanup of temporary file after processing