Skip to content

fix(integration): key range bounds by each EIC's sample name - #237

Closed
Jack-Coutts wants to merge 6 commits into
mainfrom
fix/188-bounds-by-sample-name
Closed

Jack-Coutts wants to merge 6 commits into
mainfrom
fix/188-bounds-by-sample-name

Conversation

@Jack-Coutts

Copy link
Copy Markdown
Collaborator

Why

Integration window stores data bounds under the wrong sample.

read_eics_batch omits samples with no EIC, so pairing by position stored bounds under the wrong sample and left the last one without any.

What changed

  • fix(integration): key range bounds by each EIC's sample name
  • fix(integration): drop cached range bounds before repopulating
  • fix(integration): drop cached single-selection bounds before repopulating

Scope

Verification

  • uv run pytest: the full suite passes, except the offscreen-font test in tests/test_toolbar_pills.py, which also fails on main.
  • 5 of the 5 new tests fail with this PR's src/ reverted to its base.

Closes #188

read_eics_batch omits samples with no EIC, so pairing by position
stored bounds under the wrong sample and left the last one without any.

Refs #188
A sample whose EIC disappeared kept bounds from an earlier visit, so the
reload checks skipped it. Clear every requested pair first, which also
covers the empty-result and error paths.

Refs #188
…ting

Selecting one sample whose EIC disappeared kept bounds from an earlier
visit, so Apply saved offsets without requesting extraction.

Refs #188
@Jack-Coutts

Copy link
Copy Markdown
Collaborator Author

Replaced by #302, which fixes #188 by looking EICs up by their own sample names and removing the per-sample bounds cache.

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.

Integration window stores data bounds under the wrong sample

1 participant