Skip to content

Commit

Permalink
feat(app): Add command text for air gap
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoster1 committed Oct 31, 2024
1 parent 3f4d071 commit 505c8e6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/assets/localization/en/protocol_command_text.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"absorbance_reader_read": "Reading plate in Absorbance Reader",
"adapter_in_mod_in_slot": "{{adapter}} on {{module}} in {{slot}}",
"adapter_in_slot": "{{adapter}} in {{slot}}",
"air_gap_in_place": "Air gapping {{volume}} µL",
"aspirate": "Aspirating {{volume}} µL from well {{well_name}} of {{labware}} in {{labware_location}} at {{flow_rate}} µL/sec",
"aspirate_in_place": "Aspirating {{volume}} µL in place at {{flow_rate}} µL/sec ",
"blowout": "Blowing out at well {{well_name}} of {{labware}} in {{labware_location}} at {{flow_rate}} µL/sec",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export function useCommandTextString(
case 'dropTip':
case 'dropTipInPlace':
case 'pickUpTip':
case 'airGapInPlace':
return {
kind: 'generic',
commandText: utils.getPipettingCommandText(fullParams),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ export const getPipettingCommandText = ({
const { flowRate, volume } = command.params
return t('aspirate_in_place', { volume, flow_rate: flowRate })
}
case 'airGapInPlace': {
const { volume } = command.params
return t('air_gap_in_place', { volume })
}
default: {
console.warn(
'PipettingCommandText encountered a command with an unrecognized commandType: ',
Expand Down

0 comments on commit 505c8e6

Please sign in to comment.