Skip to content

Fix SpectraMax kinetic time parsing when edge wells are skipped - #172

Merged
wasimxyz merged 1 commit into
stagingfrom
cursor/fix-kinetic-edge-wells-time
Jul 30, 2026
Merged

Fix SpectraMax kinetic time parsing when edge wells are skipped#172
wasimxyz merged 1 commit into
stagingfrom
cursor/fix-kinetic-edge-wells-time

Conversation

@wasimxyz

@wasimxyz wasimxyz commented Jul 30, 2026

Copy link
Copy Markdown
Member

Summary

When edge wells are unselected, SoftMax still exports a full 8×12 grid but leaves those cells empty and puts elapsed time/temperature on the first populated row (here, B), not A. The grid parser only read time/temp at row_idx == 0, so every well got a null time and the UI hid the kinetic slider despite measurement_type: Kinetic.

The new logic takes the first non-empty time/temp in each reading group, then attaches them to wells — correct for this fixture (time on B before B’s wells are recorded) and a no-op for normal full-plate kinetics (time still on A).

Changes

  • The SpectraMax grid parser now reads time/temp from the first non-empty prefix instead of only row_idx == 0, restoring the plate-map time slider for partial-plate kinetics.
  • Adds a regression fixture and tests for the edge-wells-skipped layout.

Test plan

  • uv run pytest lambda/tests/spectramax_plate_reader/ -q
  • uv run data-hub-process spectramax on production files → 161 timepoints, no null times
  • After deploy: reprocess those two production runs and confirm the plate-map time slider appears

Made with Cursor

SoftMax Pro writes elapsed time on the first populated row, so unselected row A left every reading with a null time and hid the plate-map slider.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
data-hub Ready Ready Preview Jul 30, 2026 10:32pm

Request Review

@wasimxyz wasimxyz self-assigned this Jul 30, 2026
@wasimxyz
wasimxyz merged commit 784489e into staging Jul 30, 2026
4 checks passed
@wasimxyz
wasimxyz deleted the cursor/fix-kinetic-edge-wells-time branch July 30, 2026 22:37
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.

1 participant