Commit ad28f29
authored
# Overview
Adds `SetShakeSpeed` to heatershaker state updates
Protocol analysis will now raise an error if you use `set_shake_speed`
and then try to open the labware latch without deactivating the shaker
first.
## Test Plan and Hands on Testing
Simulated the protocol attached in the ticket, and error was raised
`ProtocolCommandFailedError [line 491]: Error 4000 GENERAL_ERROR
(ProtocolCommandFailedError): CannotPerformModuleAction: Heater-Shaker
cannot open its labware latch while it is shaking.`
<img width="921" height="488" alt="Screenshot 2025-11-04 at 12 20 44 PM"
src="https://github.com/user-attachments/assets/0898ca36-b09d-4b0b-b239-f5e43659e917"
/>
## Risk assessment
low
Closes RQA-4814
1 parent 387e24a commit ad28f29
File tree
2 files changed
+23
-0
lines changed- api
- src/opentrons/protocol_engine/state
- tests/opentrons/protocol_engine/state
2 files changed
+23
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| 270 | + | |
270 | 271 | | |
271 | 272 | | |
272 | 273 | | |
| |||
430 | 431 | | |
431 | 432 | | |
432 | 433 | | |
| 434 | + | |
433 | 435 | | |
434 | 436 | | |
435 | 437 | | |
| |||
465 | 467 | | |
466 | 468 | | |
467 | 469 | | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
468 | 477 | | |
469 | 478 | | |
470 | 479 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
489 | 493 | | |
490 | 494 | | |
491 | 495 | | |
492 | 496 | | |
| 497 | + | |
493 | 498 | | |
494 | 499 | | |
495 | 500 | | |
| |||
516 | 521 | | |
517 | 522 | | |
518 | 523 | | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
519 | 533 | | |
520 | 534 | | |
521 | 535 | | |
| |||
0 commit comments