-
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(api,robot-server,shared-data): Specify tip overlap by version #15323
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,13 @@ class LoadPipetteParams(BaseModel): | |
description="An optional ID to assign to this pipette. If None, an ID " | ||
"will be generated.", | ||
) | ||
tipOverlapNotAfterVersion: Optional[str] = Field( | ||
None, | ||
description="A version of tip overlap data to not exceed. The highest-versioned " | ||
"tip overlap data that does not exceed this version will be used. Versions are " | ||
"expressed as vN where N is an integer, counting up from v0. If None, the current " | ||
"highest version will be used.", | ||
) | ||
Comment on lines
+58
to
+61
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a nit that doesn't really matter, but since these are always integers, should we make this field an I guess we're using There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I want to keep it a string to promote "this is an arbitrary value please do not do math on it" |
||
|
||
|
||
class LoadPipetteResult(BaseModel): | ||
|
@@ -112,6 +119,7 @@ async def execute( | |
pipette_name=params.pipetteName, | ||
mount=params.mount, | ||
pipette_id=params.pipetteId, | ||
tip_overlap_version=params.tipOverlapNotAfterVersion, | ||
) | ||
|
||
return LoadPipetteResult( | ||
|
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.
From a Protocol Engine caller's perspective, does it make sense for
configureForVolume
to deal with tip overlaps? Doesn't this command only affect plunger stuff?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.
It doesn't, really, certainly not with what's currently implemented. It is a minor sin.