Skip to content

Conversation

@di-hardt
Copy link
Contributor

@di-hardt di-hardt commented Apr 29, 2025

Similar to Sage this fix implements skipping of decompression errors, which indicates an empty spectrum (development branch of timsrust already has a new error type for this). Unlike Sage's implementation, other errors are still returned.

With this fix MS runs like https://ftp.pride.ebi.ac.uk/pride/data/archive/2022/02/PXD028735/LFQ_timsTOFPro_PASEF_Human_01.d.zip can be processed using MS2Rescore.


Fixed

  • Ignore empty spectra in Bruker raw files

Changed

  • Use newer std::io::Error::other.

@di-hardt di-hardt force-pushed the fix-handling-empty-spectra branch from 1369649 to ce1f8b2 Compare August 22, 2025 14:52
RalfG added a commit that referenced this pull request Sep 29, 2025
* update version and mzdata version

* add clippy to github workflow

* proposed fixes clippy

* import Path

* Upgrade to mzdata 0.59.2

* Undo adding cache action, as clippy is run only once

* Undo map_err changes to avoid merge conflicts with #5

---------

Co-authored-by: RalfG <[email protected]>
@RalfG RalfG merged commit 3e51c2d into CompOmics:main Sep 30, 2025
4 checks passed
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