Skip to content

Commit ada684f

Browse files
committed
fix lint
1 parent ab26970 commit ada684f

File tree

3 files changed

+4
-21
lines changed

3 files changed

+4
-21
lines changed

protocol-designer/src/load-file/migration/utils/getAdditionalEquipmentLocationUpdate.ts

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
11
import {
22
WASTE_CHUTE_ADDRESSABLE_AREAS,
3-
RobotType,
43
FLEX_ROBOT_TYPE,
54
OT2_ROBOT_TYPE,
65
MOVABLE_TRASH_ADDRESSABLE_AREAS,
76
WASTE_CHUTE_CUTOUT,
87
} from '@opentrons/shared-data'
98
import { COLUMN_4_SLOTS, uuid } from '@opentrons/step-generation'
10-
import {
11-
SavedStepFormState,
12-
getUnoccupiedSlotForTrash,
13-
} from '../../../step-forms'
9+
import { getUnoccupiedSlotForTrash } from '../../../step-forms'
1410
import { getCutoutIdByAddressableArea } from '../../../utils'
1511
import { GRIPPER_LOCATION } from '../../../constants'
12+
import type { RobotType } from '@opentrons/shared-data'
1613
import type {
1714
AddressableAreaName,
1815
CreateCommand,
1916
LoadLabwareCreateCommand,
20-
LoadLabwareParams,
2117
MoveLabwareCreateCommand,
22-
MoveLabwareParams,
2318
MoveToAddressableAreaCreateCommand,
2419
MoveToAddressableAreaForDropTipCreateCommand,
2520
} from '@opentrons/shared-data'
21+
import type { SavedStepFormState } from '../../../step-forms'
2622

2723
type LocationUpdate = Record<string, string>
2824

protocol-designer/src/step-forms/reducers/index.ts

+1-13
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,14 @@ import merge from 'lodash/merge'
55
import omit from 'lodash/omit'
66
import reduce from 'lodash/reduce'
77
import {
8-
FLEX_ROBOT_TYPE,
9-
OT2_ROBOT_TYPE,
108
getLabwareDefaultEngageHeight,
119
getLabwareDefURI,
1210
getModuleType,
1311
MAGNETIC_MODULE_TYPE,
1412
MAGNETIC_MODULE_V1,
1513
THERMOCYCLER_MODULE_TYPE,
16-
WASTE_CHUTE_ADDRESSABLE_AREAS,
17-
MOVABLE_TRASH_ADDRESSABLE_AREAS,
18-
WASTE_CHUTE_CUTOUT,
1914
} from '@opentrons/shared-data'
2015
import { rootReducer as labwareDefsRootReducer } from '../../labware-defs'
21-
import { getCutoutIdByAddressableArea, uuid } from '../../utils'
2216
import {
2317
GRIPPER_LOCATION,
2418
INITIAL_DECK_SETUP_STEP_ID,
@@ -33,7 +27,6 @@ import { PRESAVED_STEP_ID } from '../../steplist/types'
3327
import { getLabwareIsCompatible } from '../../utils/labwareModuleCompatibility'
3428
import { getLabwareOnModule } from '../../ui/modules/utils'
3529
import { nestedCombineReducers } from './nestedCombineReducers'
36-
import { COLUMN_4_SLOTS } from '@opentrons/step-generation'
3730
import {
3831
_getPipetteEntitiesRootState,
3932
_getLabwareEntitiesRootState,
@@ -44,7 +37,6 @@ import {
4437
createPresavedStepForm,
4538
getDeckItemIdInSlot,
4639
getIdsInRange,
47-
getUnoccupiedSlotForTrash,
4840
} from '../utils'
4941

5042
import type { Reducer } from 'redux'
@@ -57,11 +49,7 @@ import type {
5749
LoadLabwareCreateCommand,
5850
LoadModuleCreateCommand,
5951
LoadPipetteCreateCommand,
60-
MoveLabwareCreateCommand,
61-
MoveToAddressableAreaCreateCommand,
62-
MoveToAddressableAreaForDropTipCreateCommand,
6352
PipetteName,
64-
AddressableAreaName,
6553
} from '@opentrons/shared-data'
6654
import type { RootState as LabwareDefsRootState } from '../../labware-defs'
6755
import type { LoadFileAction } from '../../load-file'
@@ -112,12 +100,12 @@ import type {
112100
SelectMultipleStepsAction,
113101
} from '../../ui/steps/actions/types'
114102
import type { Action } from '../../types'
103+
import type { AdditionalEquipmentLocationUpdate } from '../../load-file/migration/utils/getAdditionalEquipmentLocationUpdate'
115104
import type {
116105
NormalizedLabware,
117106
NormalizedLabwareById,
118107
ModuleEntities,
119108
} from '../types'
120-
import { AdditionalEquipmentLocationUpdate } from '../../load-file/migration/utils/getAdditionalEquipmentLocationUpdate'
121109

122110
type FormState = FormData | null
123111
const unsavedFormInitialState = null

protocol-designer/src/step-forms/utils/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ import type {
3535
} from '@opentrons/step-generation'
3636
import type { DeckSlot } from '../../types'
3737
import type { FormData, HydratedFormData } from '../../form-types'
38-
import type { PDProtocolFile } from '../../file-types'
3938
import type {
4039
AdditionalEquipmentOnDeck,
4140
InitialDeckSetup,

0 commit comments

Comments
 (0)