Migrate Tecan Infinite 200 PRO to Device/Driver/Capability architecture#989
Open
rickwierenga wants to merge 3 commits intov1b1from
Open
Migrate Tecan Infinite 200 PRO to Device/Driver/Capability architecture#989rickwierenga wants to merge 3 commits intov1b1from
rickwierenga wants to merge 3 commits intov1b1from
Conversation
d56dab6 to
5aa8dfa
Compare
Split the monolithic ExperimentalTecanInfinite200ProBackend (~1345 lines) into the new architecture: - pylabrobot/tecan/infinite/protocol.py: pure protocol utilities (framing, stream parsing, decoders, calibration math) - pylabrobot/tecan/infinite/driver.py: TecanInfiniteDriver (USB I/O, scan orchestration, well-to-stage geometry) - pylabrobot/tecan/infinite/absorbance_backend.py: AbsorbanceBackend impl - pylabrobot/tecan/infinite/fluorescence_backend.py: FluorescenceBackend impl - pylabrobot/tecan/infinite/luminescence_backend.py: LuminescenceBackend impl - pylabrobot/tecan/infinite/infinite.py: TecanInfinite200Pro device frontend The legacy wrapper now delegates to the new backends (zero duplicated logic). Legacy tests patched to target the driver directly. All 30 tests pass (18 legacy + 12 new). Also updates the docs notebook to use the new API and adds Sphinx API docs for pylabrobot.tecan. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace direct open()/close() methods with LoadingTray capability using HasLoadingTray mixin. Commands sent directly via TecanInfiniteLoadingTrayBackend. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
ExperimentalTecanInfinite200ProBackend(~1345 lines) into the new Device/Driver/CapabilityBackend/Capability architecture underpylabrobot/tecan/infinite/TecanInfinite200Prodevice class withreader.absorbance.read(),reader.fluorescence.read(),reader.luminescence.read()APIpylabrobot.tecanNew files
pylabrobot/tecan/infinite/protocol.pypylabrobot/tecan/infinite/driver.pyTecanInfiniteDriver— USB I/O, scan orchestration, geometrypylabrobot/tecan/infinite/absorbance_backend.pyTecanInfiniteAbsorbanceBackend+ paramspylabrobot/tecan/infinite/fluorescence_backend.pyTecanInfiniteFluorescenceBackend+ paramspylabrobot/tecan/infinite/luminescence_backend.pyTecanInfiniteLuminescenceBackend+ paramspylabrobot/tecan/infinite/infinite.pyTecanInfinite200Pro(Resource, Device)pylabrobot/tecan/infinite/infinite_tests.pydocs/api/pylabrobot.tecan.rstTest plan
🤖 Generated with Claude Code