-
Notifications
You must be signed in to change notification settings - Fork 184
feat(app): add disposal volume #18652
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
Conversation
add disposal volume close AUTH-
add Disposal volume to QT dispense close AUTH-1980
app/src/organisms/ODD/QuickTransferFlow/Aspirate/hooks/useAspirateSettingsConfig.ts
Outdated
Show resolved
Hide resolved
app/src/organisms/ODD/QuickTransferFlow/QuickTransferAdvancedSettings/DisposalVolume.tsx
Outdated
Show resolved
Hide resolved
let pipetteName = state.pipette.model | ||
if (state.pipette.channels === 1) { | ||
pipetteName = pipetteName + `_single_flex` | ||
} else if (state.pipette.channels === 8) { | ||
pipetteName = pipetteName + `_multi_flex` | ||
} else { | ||
pipetteName = pipetteName + `_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.
huh, do we not have a util that gets the pipette name from the model? like maybe you can use getPipetteSpecsV2()
to get the pipette specs then you can use the specs to get the right info? i just think appending strings like this is a bit brittle
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.
state.pipette.model is like p50
and it's not PipetteModel so cannot use getPipetteSpecsV2()
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 see
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.
this is fine for now then.
<InputField | ||
type="text" | ||
value={String(volume ?? '')} | ||
title={t('disposal_volume_µL')} |
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 didn't know you can use the µ
symbol for an i18n string, nice
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 took this from the same json and it works.
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.
lgtm
Overview
add Disposal volume to QT dispense
close AUTH-1980
Test Plan and Hands on Testing
multiDispense
Changelog
Review requests
Risk assessment
low