Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixing #9

Merged
merged 6 commits into from
Jan 13, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
remove dependency of python.
  • Loading branch information
ypriverol committed Jan 13, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit cfc54799c14025baad8ef48158d7c0ed1998b082
3 changes: 1 addition & 2 deletions quantmsrescore/ms2rescore.py
Original file line number Diff line number Diff line change
@@ -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