@opentrons/step-generation 0.3.4-alpha.0 → 0.3.5-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/commandCreators/atomic/index.d.ts +11 -0
- package/lib/constants.d.ts +1 -0
- package/lib/index.cjs +78 -78
- package/lib/index.mjs +5542 -5397
- package/lib/utils/getTransformedWellsForPartialColumn.d.ts +6 -0
- package/lib/utils/misc.d.ts +12 -4
- package/lib/utils/pythonFileUtils.d.ts +2 -2
- package/lib/utils/safePipetteMovements.d.ts +9 -1
- package/package.json +2 -2
package/lib/utils/misc.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import type { CommandCreator, CurriedCommandCreator, FlexStackerModuleState, Inv
|
|
|
4
4
|
export declare const AIR: '__air__';
|
|
5
5
|
export declare const SOURCE_WELL_BLOWOUT_DESTINATION: 'source_well';
|
|
6
6
|
export declare const DEST_WELL_BLOWOUT_DESTINATION: 'dest_well';
|
|
7
|
+
export declare function getIsVacuumSpacer(def: LabwareDefinition2): boolean;
|
|
7
8
|
type trashOrLabware = 'wasteChute' | 'trashBin' | 'labware' | null;
|
|
8
9
|
export declare const getCutoutIdByAddressableArea: (addressableAreaName: AddressableAreaName, cutoutFixtureId: CutoutFixtureId, robotType: RobotType) => CutoutId;
|
|
9
10
|
export declare function getWasteChuteAddressableAreaNamePip(channels: PipetteChannels): AddressableAreaName;
|
|
@@ -98,7 +99,11 @@ export declare const delayLocationHelper: CommandCreator<DelayLocationHelperArgs
|
|
|
98
99
|
export declare const getSlotInLocationStack: (stack: string[] | null, isStacker?: boolean) => string;
|
|
99
100
|
export declare const getTopLocationInStack: (stack?: string[]) => string;
|
|
100
101
|
export declare const getNearestParentInStack: (stack: string[]) => string | null;
|
|
101
|
-
export declare const getLargestStackInSlot: (
|
|
102
|
+
export declare const getLargestStackInSlot: (args: {
|
|
103
|
+
slot: string;
|
|
104
|
+
labwareState: RobotState['labware'];
|
|
105
|
+
modulesState: RobotState['modules'];
|
|
106
|
+
}) => string[];
|
|
102
107
|
/** Single-slot deck id (e.g. A3) for a staging-area slot (e.g. A4) on Flex. */
|
|
103
108
|
export declare const getFlexStackerCutoutBaseDeckSlotId: (column4StagingSlotId: (typeof COLUMN_4_SLOTS)[number]) => string;
|
|
104
109
|
export declare const column4StagingSlotIdFromFlexStackerShuttleAddressableArea: (addressableAreaName: AddressableAreaName) => (typeof COLUMN_4_SLOTS)[number] | null;
|
|
@@ -170,12 +175,15 @@ export declare const getIsRetractSafeForAirGap: (args: {
|
|
|
170
175
|
}) => boolean;
|
|
171
176
|
export declare const getStackForLabwareLocation: (locationSequence: LabwareLocationSequence) => string[];
|
|
172
177
|
export declare function createStagingAreaForInvariantContext(params: LoadLidStackRunTimeCommand['params'] | LoadLabwareRunTimeCommand['params'] | LoadLidParams): StagingAreaEntities;
|
|
173
|
-
export declare const getLabwareIdOnHopper: (labware: {
|
|
174
|
-
[labwareId: string]: LabwareTemporalProperties;
|
|
175
|
-
}, moduleSlotLocation: string) => string;
|
|
176
178
|
export declare const getIsSlotAHopper: (slot: string) => boolean;
|
|
177
179
|
export declare const getIsSlotAVacuumDock: (slot: string) => boolean;
|
|
178
180
|
export declare const getLabwareIdOnShuttle: (stackerState: FlexStackerModuleState) => string | null;
|
|
179
181
|
export declare const labwareMatchesLabwareInHopper: (labwareId: string, invariantContext: InvariantContext, stackerState: FlexStackerModuleState | null) => boolean;
|
|
180
182
|
export declare const getIsSpaceInHopper: (stackerState: FlexStackerModuleState | null, labwareEntities: LabwareEntities) => boolean;
|
|
183
|
+
export declare const getLabwareHasLid: (args: {
|
|
184
|
+
labwareId: string;
|
|
185
|
+
labwareRobotState: RobotState['labware'];
|
|
186
|
+
labwareEntities: LabwareEntities;
|
|
187
|
+
}) => boolean;
|
|
188
|
+
export declare const getIsInPipettableLocation: (location: string) => boolean;
|
|
181
189
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ProtocolFile, RobotType } from '@opentrons/shared-data';
|
|
2
2
|
import type { ChangeTipOptions, InvariantContext, LabwareEntities, LabwareLiquidState, LabwareTemporalProperties, LiquidEntities, ModuleEntities, ModuleTemporalProperties, PipetteEntities, Timeline, TimelineFrame, TrashBinEntities, WasteChuteEntities } from '../types';
|
|
3
|
-
export declare const PAPI_VERSION = "2.
|
|
4
|
-
export declare const PD_APPLICATION_VERSION = "
|
|
3
|
+
export declare const PAPI_VERSION = "2.30";
|
|
4
|
+
export declare const PD_APPLICATION_VERSION = "9.0.0";
|
|
5
5
|
export declare function pythonImports(): string;
|
|
6
6
|
export declare function pythonMetadata(fileMetadata: ProtocolFile<{}>['metadata'] & {
|
|
7
7
|
protocolDesigner?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AddressableArea, CoordinateTuple, CutoutId, LabwareDefinition, NozzleConfigurationStyle, PipetteChannels, PrimaryNozzleConfigurationStyle } from '@opentrons/shared-data';
|
|
1
|
+
import type { AddressableArea, CoordinateTuple, CutoutId, LabwareDefinition, NozzleConfigurationStyle, PipetteChannels, PipetteV2Specs, PrimaryNozzleConfigurationStyle } from '@opentrons/shared-data';
|
|
2
2
|
import type { InvariantContext, PipetteMovementSafetyStatus, Point, RobotState, TipState } from '../types';
|
|
3
3
|
interface SlotInfo {
|
|
4
4
|
addressableArea: AddressableArea | null;
|
|
@@ -42,4 +42,12 @@ export declare const getTargetTipsFromWellSets: (args: {
|
|
|
42
42
|
channels: PipetteChannels;
|
|
43
43
|
primaryNozzle: string;
|
|
44
44
|
}) => string[];
|
|
45
|
+
interface PipetteCenteringArgs {
|
|
46
|
+
wellTargetName: string;
|
|
47
|
+
primaryNozzle: PrimaryNozzleConfigurationStyle;
|
|
48
|
+
nozzleConfiguration: NozzleConfigurationStyle;
|
|
49
|
+
specs: PipetteV2Specs;
|
|
50
|
+
labwareDef: LabwareDefinition;
|
|
51
|
+
}
|
|
52
|
+
export declare const getPipetteCenteringFullOffset: (args: PipetteCenteringArgs) => Point;
|
|
45
53
|
export {};
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"name": "@opentrons/step-generation",
|
|
11
11
|
"productName": "Opentrons Step Generation",
|
|
12
|
-
"version": "0.3.
|
|
12
|
+
"version": "0.3.5-alpha.0",
|
|
13
13
|
"description": "Step generation",
|
|
14
14
|
"main": "lib/index.cjs",
|
|
15
15
|
"types": "lib/index.d.ts",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"homepage": "https://github.com/Opentrons/opentrons",
|
|
34
34
|
"license": "Apache-2.0",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@opentrons/shared-data": "0.3.
|
|
36
|
+
"@opentrons/shared-data": "0.3.5-alpha.0",
|
|
37
37
|
"core-js": "3.2.1",
|
|
38
38
|
"immer": "^10.1.3",
|
|
39
39
|
"lodash": "4.18.1",
|