Skip to content

Commit

Permalink
fix(step-generation): remove unneeded dispense after airGapInPlace
Browse files Browse the repository at this point in the history
closes RQA-3913
  • Loading branch information
jerader committed Jan 31, 2025
1 parent 698bd4b commit 71c7a0d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 350 deletions.
60 changes: 0 additions & 60 deletions step-generation/src/__tests__/distribute.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import {
makeAspirateHelper,
makeContext,
makeDispenseHelper,
makeDispenseAirGapHelper,
makeTouchTipHelper,
pickUpTipHelper,
SOURCE_LABWARE,
Expand All @@ -37,16 +36,6 @@ import {
DEST_WELL_BLOWOUT_DESTINATION,
} from '../utils/misc'

const dispenseAirGapHelper = makeDispenseAirGapHelper({
wellLocation: {
origin: 'bottom',
offset: {
x: 0,
y: 0,
z: 11.54,
},
},
})
const aspirateHelper = makeAspirateHelper()
const dispenseHelper = makeDispenseHelper()
const touchTipHelper = makeTouchTipHelper()
Expand Down Expand Up @@ -450,8 +439,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeMoveToWellHelper('A1'),
makeAirGapHelper(5),
delayCommand(12),

dispenseAirGapHelper('A2', 5),
dispenseHelper('A2', 100),
dispenseHelper('A3', 100),

Expand All @@ -460,7 +447,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeMoveToWellHelper('A1'),
makeAirGapHelper(5),
delayCommand(12),
dispenseAirGapHelper('A4', 5),
dispenseHelper('A4', 100),
dispenseHelper('A5', 100),
])
Expand Down Expand Up @@ -488,14 +474,12 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
aspirateHelper('A1', 200),
makeMoveToWellHelper('A1'),
makeAirGapHelper(5),
dispenseAirGapHelper('A2', 5),
dispenseHelper('A2', 100),
dispenseHelper('A3', 100),

aspirateHelper('A1', 200),
makeMoveToWellHelper('A1'),
makeAirGapHelper(5),
dispenseAirGapHelper('A4', 5),
dispenseHelper('A4', 100),
dispenseHelper('A5', 100),
])
Expand Down Expand Up @@ -524,9 +508,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
aspirateHelper('A1', 200),
makeMoveToWellHelper('A1'),
makeAirGapHelper(5),

dispenseAirGapHelper('A2', 5),
delayCommand(12),
dispenseHelper('A2', 100),
...delayWithOffset('A2', DEST_LABWARE),
dispenseHelper('A3', 100),
Expand All @@ -535,9 +516,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
aspirateHelper('A1', 200),
makeMoveToWellHelper('A1'),
makeAirGapHelper(5),

dispenseAirGapHelper('A4', 5),
delayCommand(12),
dispenseHelper('A4', 100),
...delayWithOffset('A4', DEST_LABWARE),
dispenseHelper('A5', 100),
Expand Down Expand Up @@ -928,8 +906,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeAirGapHelper(31),
delayCommand(11),
// dispense #1
dispenseAirGapHelper('B1', 31),
delayCommand(12),
dispenseHelper('B1', 45),
...delayWithOffset('B1', DEST_LABWARE),
// touch tip (disp #1)
Expand Down Expand Up @@ -976,8 +952,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeAirGapHelper(31),
delayCommand(11),
// dispense #1
dispenseAirGapHelper('A2', 31),
delayCommand(12),
dispenseHelper('A2', 100),
...delayWithOffset('A2', DEST_LABWARE),
// touch tip (disp #1)
Expand Down Expand Up @@ -1008,8 +982,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeMoveToWellHelper('A1'),
makeAirGapHelper(31),
delayCommand(11),
dispenseAirGapHelper('A4', 31),
delayCommand(12),
// dispense #3
dispenseHelper('A4', 100),
...delayWithOffset('A4', DEST_LABWARE),
Expand Down Expand Up @@ -1059,8 +1031,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeAirGapHelper(31),
delayCommand(11),
// dispense #1
dispenseAirGapHelper('A2', 31),
delayCommand(12),
dispenseHelper('A2', 100),
...delayWithOffset('A2', DEST_LABWARE),
// touch tip (disp #1)
Expand Down Expand Up @@ -1098,8 +1068,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeAirGapHelper(31),
delayCommand(11),
// dispense #3
dispenseAirGapHelper('A4', 31),
delayCommand(12),
dispenseHelper('A4', 100),
...delayWithOffset('A4', DEST_LABWARE),
// touch tip (disp #3)
Expand Down Expand Up @@ -1149,8 +1117,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeAirGapHelper(31),
delayCommand(11),
// dispense #1
dispenseAirGapHelper('A2', 31),
delayCommand(12),
dispenseHelper('A2', 100),
...delayWithOffset('A2', DEST_LABWARE),
// touch tip (disp #1)
Expand Down Expand Up @@ -1181,8 +1147,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeAirGapHelper(31),
delayCommand(11),
// dispense #3
dispenseAirGapHelper('A4', 31),
delayCommand(12),
dispenseHelper('A4', 100),
...delayWithOffset('A4', DEST_LABWARE),
// touch tip (disp #3)
Expand Down Expand Up @@ -1229,8 +1193,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeAirGapHelper(31),
delayCommand(11),
// dispense #1
dispenseAirGapHelper('A2', 31),
delayCommand(12),
dispenseHelper('A2', 100),
...delayWithOffset('A2', DEST_LABWARE),
// touch tip (disp #1)
Expand Down Expand Up @@ -1262,8 +1224,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeAirGapHelper(31),
delayCommand(11),
// dispense #3
dispenseAirGapHelper('A4', 31),
delayCommand(12),
dispenseHelper('A4', 100),
...delayWithOffset('A4', DEST_LABWARE),
// touch tip (disp #3)
Expand Down Expand Up @@ -1314,8 +1274,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeAirGapHelper(31),
delayCommand(11),
// dispense #1
dispenseAirGapHelper('A2', 31),
delayCommand(12),
dispenseHelper('A2', 100),
...delayWithOffset('A2', DEST_LABWARE),
// touch tip (disp #1)
Expand Down Expand Up @@ -1355,8 +1313,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeAirGapHelper(31),
delayCommand(11),
// dispense #3
dispenseAirGapHelper('A4', 31),
delayCommand(12),
dispenseHelper('A4', 100),
...delayWithOffset('A4', DEST_LABWARE),
// touch tip (disp #3)
Expand Down Expand Up @@ -1406,8 +1362,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeAirGapHelper(31),
delayCommand(11),
// dispense #1
dispenseAirGapHelper('A2', 31),
delayCommand(12),
dispenseHelper('A2', 100),
...delayWithOffset('A2', DEST_LABWARE),
// touch tip (disp #1)
Expand Down Expand Up @@ -1439,8 +1393,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeAirGapHelper(31),
delayCommand(11),
// dispense #3
dispenseAirGapHelper('A4', 31),
delayCommand(12),
dispenseHelper('A4', 100),
...delayWithOffset('A4', DEST_LABWARE),
// touch tip (disp #3)
Expand Down Expand Up @@ -1488,8 +1440,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeAirGapHelper(31),
delayCommand(11),
// dispense #1
dispenseAirGapHelper('A2', 31),
delayCommand(12),
dispenseHelper('A2', 100),
...delayWithOffset('A2', DEST_LABWARE),
// touch tip (disp #1)
Expand Down Expand Up @@ -1521,8 +1471,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeAirGapHelper(31),
delayCommand(11),
// dispense #3
dispenseAirGapHelper('A4', 31),
delayCommand(12),
dispenseHelper('A4', 100),
...delayWithOffset('A4', DEST_LABWARE),
// touch tip (disp #3)
Expand Down Expand Up @@ -1573,8 +1521,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeAirGapHelper(31),
delayCommand(11),
// dispense #1
dispenseAirGapHelper('A2', 31),
delayCommand(12),
dispenseHelper('A2', 100),
...delayWithOffset('A2', DEST_LABWARE),
// touch tip (disp #1)
Expand Down Expand Up @@ -1614,8 +1560,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeAirGapHelper(31),
delayCommand(11),
// dispense #3
dispenseAirGapHelper('A4', 31),
delayCommand(12),
dispenseHelper('A4', 100),
...delayWithOffset('A4', DEST_LABWARE),
// touch tip (disp #3)
Expand Down Expand Up @@ -1665,8 +1609,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeAirGapHelper(31),
delayCommand(11),
// dispense #1
dispenseAirGapHelper('A2', 31),
delayCommand(12),
dispenseHelper('A2', 100),
...delayWithOffset('A2', DEST_LABWARE),
// touch tip (disp #1)
Expand Down Expand Up @@ -1698,8 +1640,6 @@ describe('advanced settings: volume, mix, pre-wet tip, tip touch, tip position',
makeAirGapHelper(31),
delayCommand(11),
// dispense #3
dispenseAirGapHelper('A4', 31),
delayCommand(12),
dispenseHelper('A4', 100),
...delayWithOffset('A4', DEST_LABWARE),
// touch tip (disp #3)
Expand Down
Loading

0 comments on commit 71c7a0d

Please sign in to comment.