Skip to content

Commit

Permalink
fix(step-generation): only aspirate disposal volume in first chunk (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jerader authored Jan 8, 2025
1 parent dc624b8 commit 9e0d3cb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions step-generation/src/commandCreators/compound/distribute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -483,14 +483,20 @@ export const distribute: CommandCreator<DistributeArgs> = (
}),
]
: []

const aspirateDisposalVolumeOnce = chunkIndex === 0 ? disposalVolume : 0
return [
...tipCommands,
...configureForVolumeCommand,
...mixBeforeAspirateCommands,
curryCommandCreator(aspirate, {
pipette,
volume: args.volume * destWellChunk.length + disposalVolume,
volume:
args.volume * destWellChunk.length +
// only add disposal volume if its the 1st chunk and changing tip once
// and not blowing out after dispenses
(args.changeTip === 'once' && blowoutLocation == null
? aspirateDisposalVolumeOnce
: disposalVolume),
labware: args.sourceLabware,
well: args.sourceWell,
flowRate: aspirateFlowRateUlSec,
Expand Down

0 comments on commit 9e0d3cb

Please sign in to comment.