Skip to content

fix: Recognize Evaluation-Kinetics sheet and SCK analyte lookup#1204

Merged
nathan-stender merged 2 commits into
mainfrom
fix/biacore-kinetics-sheet-name-and-sck-lookup
May 21, 2026
Merged

fix: Recognize Evaluation-Kinetics sheet and SCK analyte lookup#1204
nathan-stender merged 2 commits into
mainfrom
fix/biacore-kinetics-sheet-name-and-sck-lookup

Conversation

@nathan-stender

Copy link
Copy Markdown
Collaborator

Summary

  • Accept both "Evaluation - Kinetics" and "Evaluation-Kinetics" sheet names when loading kinetics data (some exports omit spaces around the dash)
  • For Single Cycle Kinetics (SCK) experiments, prefer "Single cycle kinetics 1 Solution" over "Analyte 1 Solution" when building the kinetics lookup key — otherwise ka, kd, KD, and Rmax are silently dropped because the keys never match

Test plan

  • Verified customer file now outputs all kinetics fields (ka, kd, KD, Rmax)
  • All 5 existing Biacore Insight tests pass (no regressions)
  • All 15 Biacore discovery tests pass
  • Lint + mypy clean

🤖 Generated with Claude Code

@nathan-stender
nathan-stender requested review from a team and slopez-b as code owners May 21, 2026 14:22
…alyte

The parser failed to find kinetics data (ka, kd, KD, Rmax) when the
sheet was named "Evaluation-Kinetics" (no spaces around dash) instead
of "Evaluation - Kinetics". Also, for Single Cycle Kinetics experiments
the analyte identity is in "Single cycle kinetics 1 Solution" rather
than "Analyte 1 Solution", causing key mismatches in the kinetics
lookup.

Added _find_sheet() and _find_sheets_with_prefix() helpers that
normalize dash/space separators before comparing, fixing all sheet
name lookups (QC sheets, Evaluation-Kinetics, Evaluation-Trend/Preced).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nathan-stender
nathan-stender force-pushed the fix/biacore-kinetics-sheet-name-and-sck-lookup branch from 643b57a to dc21cd7 Compare May 21, 2026 14:28
Adds "Single cycle kinetics 1 Solution" column to the report point
table test data so kinetics lookup keys match, verifying that ka, kd,
KD, and Rmax appear in the output.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nathan-stender
nathan-stender requested review from tamargrey and removed request for stephenworlow May 21, 2026 16:03
@nathan-stender
nathan-stender merged commit 75870b0 into main May 21, 2026
9 checks passed
@nathan-stender
nathan-stender deleted the fix/biacore-kinetics-sheet-name-and-sck-lookup branch May 21, 2026 16:27
nathan-stender added a commit that referenced this pull request May 21, 2026
### Fixed

- Support new PkN column format in Stunner parser (#1205)
- Recognize Evaluation-Kinetics sheet and SCK analyte lookup (#1204)
- Handle QuantStudio Stop Time and non-ASCII delta columns (#1203)
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