Skip to content

Commit

Permalink
remove dependency of python.
Browse files Browse the repository at this point in the history
  • Loading branch information
ypriverol committed Jan 13, 2025
1 parent 4a88cf8 commit cfc5479
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions quantmsrescore/ms2rescore.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cfc5479

Please sign in to comment.