-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(step-generation: move_labware python command #17641
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## edge #17641 +/- ##
==========================================
+ Coverage 25.69% 25.76% +0.07%
==========================================
Files 2851 2851
Lines 219479 219659 +180
Branches 17972 18043 +71
==========================================
+ Hits 56385 56591 +206
+ Misses 163079 163053 -26
Partials 15 15
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
}, | ||
]) | ||
expect(getSuccessResult(result).python).toBe( | ||
`protocol.move_labware(mockPythonName, A4, use_gripper=False)` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this correct? Does A4
need to be quoted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops, yes. good catch!
console.error('expected to find a python new location but could not') | ||
} | ||
|
||
const pythonUseGripper = useGripper ? 'True' : 'False' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The API says use_gripper
defaults to False. Can we leave it out unless it's true?
}, | ||
]) | ||
expect(getSuccessResult(result).python).toBe( | ||
`protocol.move_labware(mockPythonName, ${OFF_DECK}, use_gripper=False)` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the output, let's put in the computed value of OFF_DECK
so I can see if the generated code is correct.
closes AUTH-1104
Overview
This PR creates the python command for
move_labware
Test Plan and Hands on Testing
There is unit test coverage for each option, feel free to smoke test it as well though!
Options include:
Changelog
moveLabware.ts
getCutoutIdByAddressableArea
tostep-generation
utilsRisk assessment
low, behind ff