-
Notifications
You must be signed in to change notification settings - Fork 179
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(protocol-designer, step-generation): single channel partial tip support for 'default' primaryNozzle only #17222
base: edge
Are you sure you want to change the base?
Conversation
324471b
to
422a6bc
Compare
@@ -31,7 +31,9 @@ const initialFlags: Flags = { | |||
process.env.OT_PD_ENABLE_HOT_KEYS_DISPLAY === '1' || true, | |||
OT_PD_ENABLE_REACT_SCAN: process.env.OT_PD_ENABLE_REACT_SCAN === '1' || false, | |||
OT_PD_ENABLE_LIQUID_CLASSES: | |||
process.env.OT_PD_ENABLE_LIQUID_CLASSES === '1' || false, | |||
process.env.OT_PD_ENABLE_REACT_SCAN === '1' || 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.
i guess needs to merge edge into this branch since you fixed this already, don't you?
process.env.OT_PD_ENABLE_REACT_SCAN === '1' || false, | |
process.env.OT_PD_ENABLE_LIQUID_CLASSES === '1' || false, |
@@ -101,8 +101,8 @@ export const SelectableLabware = ( | |||
rect | |||
) => { | |||
if (!e.shiftKey) { | |||
if (nozzleType != null) { | |||
const channels = getChannelsFromNozleType(nozzleType) | |||
if (nozzleType != null && nozzleType !== SINGLE) { |
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.
if (nozzleType != null && nozzleType !== SINGLE) { | |
if (nozzleType !== null && nozzleType !== SINGLE) { |
@@ -142,8 +142,8 @@ export const SelectableLabware = ( | |||
} | |||
|
|||
const handleMouseEnterWell: (args: WellMouseEvent) => void = args => { | |||
if (nozzleType != null) { | |||
const channels = getChannelsFromNozleType(nozzleType) | |||
if (nozzleType != null && nozzleType !== SINGLE) { |
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.
same as the above
@@ -158,11 +158,11 @@ export const SelectableLabware = ( | |||
|
|||
// For rendering, show all wells not just primary wells | |||
const allSelectedWells = | |||
nozzleType != null | |||
nozzleType != null && nozzleType !== SINGLE |
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.
same as the above
disabled: noTipracksOnAdapter, | ||
tooltipText: noTipracksOnAdapter | ||
? t('form:step_edit_form.field.nozzles.option_tooltip.partial') | ||
: undefined, |
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.
can we use ''
or null
?
@@ -74,6 +78,9 @@ export function MixTools(props: StepFormProps): JSX.Element { | |||
const is96Channel = | |||
propsForFields.pipette.value != null && | |||
pipettes[String(propsForFields.pipette.value)].name === 'p1000_96' |
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.
can we use .spec.channels
since is8Channel uses that.
pipettes[String(propsForFields.pipette.value)].name === 'p1000_96' | |
pipettes[String(propsForFields.pipette.value)].spec.channels === 96 |
@@ -91,6 +94,9 @@ export function MoveLiquidTools(props: StepFormProps): JSX.Element { | |||
const is96Channel = | |||
propsForFields.pipette.value != null && | |||
pipettes[String(propsForFields.pipette.value)].name === 'p1000_96' |
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.
same as the above
@@ -28,14 +33,17 @@ function _wellsForPipette( | |||
const pipChannels = pipetteEntity.spec.channels | |||
|
|||
// `wells` is all the wells that pipette's channel 1 interacts with. | |||
if (pipChannels === 8 || pipChannels === 96) { | |||
if ((pipChannels === 8 || pipChannels === 96) && nozzles !== SINGLE) { | |||
let channels: 8 | 96 = pipChannels |
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.
let channels: 8 | 96 = pipChannels | |
let channels = pipChannels |
closes AUTH-594 AUTH-596 AUTH-597 AUTH-598 AUTH-599
Overview
This is behind a ff so shouldn't affect anything in 8.3.0, 8.4.0, etc until we want to finish & release this feature
This PR adds single tip partial tip support for 96-channel and 8-channel, only starting at the 'default' primary nozzles which are
H1
for 8-channel andH12
for 96-channel.Note that collision warnings for deck extents, ot-2 and 8-channel are not fully supported yet.
Test Plan and Hands on Testing
Turn on the partial tip FF
Changelog
Risk assessment
low, behind ff