Repository navigation
chore: Record ASM molecular weight gap and fix release status typo - #1271
Merged
nathan-stender merged 1 commit intoSep 23, 2026
Merged
Conversation
Two small cleanups: - Mark the missing molecular weight concept in ASM with the repo's `TODO(ASM gaps)` convention. The Agilent OpenLab CDS GPC/SEC work added in #1269 reports Mn/Mw/Mz/Mz+1/Mv/Mp/PD as peak custom information because ASM has no molecular weight concept at any level, but the workaround was only described in prose, so it did not show up in a `TODO(ASM gaps)` grep along with the other tracked gaps. - Fix "signifcant" -> "significant" in the parser maturation level descriptions, and regenerate SUPPORTED_INSTRUMENT_SOFTWARE.adoc. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
stephenworlow
approved these changes
Sep 23, 2026
ajcariaga16
approved these changes
Sep 23, 2026
nathan-stender
deleted the
chore/small-cleanups-asm-gaps-marker-and-typo
branch
September 23, 2026 20:06
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.
Summary
Two small cleanups from a TODO sweep of the repo. No behavior change — comments, one prose typo, and the generated table that mirrors it.
1. Record the ASM molecular weight gap with the tracked convention
The Agilent OpenLab CDS GPC/SEC support added in #1269 reports the molecular weight averages (Mn, Mw, Mz, Mz+1, Mv, Mp, PD) as peak custom information, because ASM has no molecular weight concept at any level — not on the peak, not on the processed data document, nowhere. That was the right call, but the reason was only written as prose, so it didn't turn up in a
git grep "TODO(ASM gaps)"alongside the other nine tracked gaps in the repo.This adds the marker where the affected fields are defined. Note that every existing
TODO(ASM gaps)lives in a schema mapper; this one can't, because the liquid chromatography mapper passesPeak.custom_infostraight through and has no molecular-weight-specific line to annotate. The parser's constants file is where the substitution actually happens.2. Fix "signifcant" -> "significant"
In the parser maturation level descriptions in
get_table_contents(), plus the generatedSUPPORTED_INSTRUMENT_SOFTWARE.adoc(regenerated withhatch run scripts:update-instrument-table, which changed only that line — no other drift).Testing
hatch run lint— clean (ruff, black, mypy: no issues in 795 source files)hatch run test_all.py3.10:pytest tests/ -q— 1520 passedtests/parser_factory_test.py::test_table_contentsasserts the checked-in.adocmatches the generated table, so the two typo fixes have to land together — and that test passing confirms they did.Deliberately not included
The same sweep turned up items that need a decision rather than a mechanical edit, so they're left alone:
jsonschema < 4.18.0pin (pyproject.toml) — theTODO(nstender)there wants refs stripped from schemas before use to work around a performance regression. Confirmed as still needed, not touching it.TODO(switch-statement)— all say "use switch statement once Benchling can use 3.10 syntax".requires-python = ">=3.10"here suggests this is unblocked, but the wording refers to a Benchling-internal constraint, so it needs one confirmation from someone who'd know before the conversions are worth making.agilent_gen5,cfxmaestro,softmax_pro, andappbio_quantstudio— these look like they want a shared helper, which overlaps with open PR fix: Luminex xPONENT - report NaN assay bead counts as NaN via error document #1268 (it definesget_bead_count_errorlocally in the Luminex parser). Worth settling as one design decision while that PR is open.🤖 Generated with Claude Code