Skip to content

Commit 10e0fa7

Browse files
committed
address feedback and rename const
1 parent 2970e8e commit 10e0fa7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

step-generation/src/utils/pythonFileUtils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,11 +297,11 @@ export function getLoadLabware(
297297
// 2nd item in stack is the slot the labware is on
298298
const labwareSlot = labwareRobotState[id].stack[1]
299299
const onModule = moduleEntities[labwareSlot] != null
300-
const onAdapter = allLabwareEntities[labwareSlot] != null
300+
const onLabware = allLabwareEntities[labwareSlot] != null
301301

302302
let parentName: string
303303
let locationArg: string | undefined
304-
if (onAdapter && !isLabwareOnHopper) {
304+
if (onLabware && !isLabwareOnHopper) {
305305
parentName = allLabwareEntities[labwareSlot].pythonName
306306
} else if (onModule) {
307307
parentName = moduleEntities[labwareSlot].pythonName

0 commit comments

Comments
 (0)