Uh oh!
There was an error while loading. Please reload this page.
Add Electroporation capability and BTX Gemini X2 backend - #1063
Open
hazlamshamin wants to merge 9 commits into
Open
Add Electroporation capability and BTX Gemini X2 backend#1063hazlamshamin wants to merge 9 commits into
hazlamshamin wants to merge 9 commits into
Conversation
hazlamshamin
commented
May 26, 2026
ContributorAuthor
rickwierengaforce-pushed
the
v1b1
branch
2 times, most recently
from
August 1, 2026 20:32
6af085c to
1ae9dc6Comparerickwierengaforce-pushed
the
btx-electroporation-v1b1
branch
from
August 23, 2026 23:39
1c282c8 to
d8cae69CompareActive pulse delivery requires bounded framebuffer traffic. Use one framebuffer attempt for each run-state poll while preserving configured retries for navigation and other screen captures.
rickwierengaforce-pushed
the
btx-electroporation-v1b1
branch
2 times, most recently
from
August 29, 2026 01:14
4cb4a54 to
d927525Comparerickwierengaforce-pushed
the
btx-electroporation-v1b1
branch
from
August 29, 2026 01:24
d927525 to
904c7b1Compare
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 freeto 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
This PR adds a new
Electroporationcapability and a BTX Gemini X2 implementation for prepared electroporation runs.The workflow is modeled around the actual Gemini X2 / HT-200 operation:
What changed
Added
pylabrobot.capabilities.electroporationElectroporationfrontendElectroporationBackendAdded
pylabrobot.btxBTXGeminiX2deviceAdded BTX/Gemini X2 test fixtures
Added docs
pylabrobot[btx]extraCI
btxto the extras test matrixtesseract-ocrforbtx/allCI jobs because GhostTouch OCR depends on thetesseractexecutableAlso includes one docs-only fix for existing bulk-dispenser API module paths (
peristaltic8/backend8,syringe8/backend8).Hardware validation
Validated on a physical BTX Gemini X2 with HT-200 using a temporary square-wave protocol:
\BTXDATAThe committed screen fixtures are selected PNGs from this run and are used for digital tests so the screen-state logic can be tested without the physical device. See btx/test_data/gemini_x2/screens, as well as the attached video for "The Ghost Touch". I believe this is the first crazy backend that relies on screen detection and OCR to control lab devices. Mainly due to inability of the machine to expose firmware API that allows seamless control by a desktop. The remote desktop app by OEM literally streams the screen bytes to the desktop, and users need to click the streamed screen on their desktop to be able to control the device. Hence this is my best effort.
Tests
Run locally: