Add Electroporation capability and BTX Gemini X2 backend#1063
Open
hazlamshamin wants to merge 4 commits into
Open
Add Electroporation capability and BTX Gemini X2 backend#1063hazlamshamin wants to merge 4 commits into
hazlamshamin wants to merge 4 commits into
Conversation
Contributor
Author
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
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: