Pre-release fixes, version bump, CHANGELOG, and README for 0.5.0-beta.1#15
Merged
Conversation
RalfG
force-pushed
the
fix/pre-release-review
branch
from
June 19, 2026 09:57
821bc50 to
8671a01
Compare
Set up MSVC environment with ilammy/msvc-dev-cmd and set CMAKE_GENERATOR=Ninja to bypass cmake's unsupported VS 18.0 version detection in the libz-sys build script.
RalfG
force-pushed
the
fix/pre-release-review
branch
from
June 19, 2026 10:12
8671a01 to
a68088b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pre-release review of
release/0.5before the first beta tag. Covers correctness fixes, a version bump, and documentation.Fixed
get_precursor_info/get_ms2_spectra: restoreValueError(notException) for unsupported file types — regression from the io refactorms2pip_compute_theoretical_mz: raiseValueErroron missing ProForma charge instead of silently defaulting to 1, matching the behavior ofms2pip_compute_featuresannotate_ms2_spectra: raiseValueErrorwith a descriptive message on malformed or non-positive charge suffix in ProForma string; fall back to precursor charge when no suffix is presentms2pip_extract_targets: validate per-spectrum intensity length against peak count; raisesExceptioninstead of silently zero-filling on mismatchChanged
0.5.0-alpha.3→0.5.0-beta.1LOG2_FLOOR/CLIP_LOG2_MINconsolidated into a single canonicalLOG2_FLOOR_F64constant insrc/utils.rs; derived at use sites to avoid precision driftAdded
CHANGELOG.md(Keep a Changelog format, full history v0.1.0 – 0.5.0-beta.1)README.mdpopulated with description, function table, supported formats, dependency attribution (rustyms/mzcore, mzdata, timsrust), and development instructionstest_unsupported_file_type_raises_value_error: both io functions raiseValueErrorfor unknown file extensionstest_no_charge_raises:ms2pip_compute_theoretical_mzraisesValueErroron chargeless ProForma (renamed fromtest_no_charge_defaults)