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

support reading gzipped spectrum files #226

Open
wants to merge 4 commits into
base: releases
Choose a base branch
from

Conversation

paretje
Copy link
Contributor

@paretje paretje commented Aug 23, 2024

Drop file type check and instead catch exception thrown by ms2rescore-rs if the file type is unsupported. When used with compomics/ms2rescore-rs#1, this adds support for gzipped spectrum files.

As an alternative, we could also use the is_supported_file_type function introduced in that pull request.

ms2pip/spectrum_input.py Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants