feat(cole_parmer): add GenoGrinder plate shaker driver - #1192
Merged
Conversation
The GenoGrinder clamps a microplate between two platens and shakes it vertically for a fixed duration at a fixed speed. Adds the serial driver, tests, an API page for the cole_parmer package, and a hello-world guide. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Pad the API page title underline, make the command table a literal block, and keep the product URL on one line so it stays a valid link. Co-Authored-By: Claude Opus 5 (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.
Adds a driver for the Cole-Parmer GenoGrinder (fka SPEX GenoGrinder), a plate shaker / homogenizer that clamps a microplate or plate stack and mixes it for a fixed duration at a fixed speed.
Product page
Single plain class over
pylabrobot.io.serial.Serial— 9600 8N1,*NN*command frames, CR-terminated, each acknowledged by a reply naming the state reached. A command that misses its expected state clears the instrument's error latch and raisesGenoGrinderError.setup()opens the port and runs the power-on routine, which homes the mechanism and readies the clamp; its reply doubles as a communication check.Public API:
home_clamp,request_clamp_state,open_clamp,close_clamp,request_status,shake,stop_shaking.shake()blocks until the device reports the run complete. The clamp methods read position first and move only if needed, so nothing on the public surface is a blind toggle. Models with a fixed, hand-tightened clamp passuse_clamp_commands=Falseand the clamp methods become no-ops.Not hardware-tested —
setup()logs a warning saying so.Also adds
docs/api/pylabrobot.cole_parmer.rst(the package had no API page; it covers Masterflex too) anddocs/user_guide/cole_parmer/genogrinder/hello-world.ipynb.🤖 Generated with Claude Code