@opentrons/step-generation 0.3.20-alpha.0 → 0.3.22-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/__tests__/absorbanceReaderInitialize.test.d.ts +1 -0
- package/lib/commandCreators/atomic/__tests__/absorbanceReaderRead.test.d.ts +1 -0
- package/lib/commandCreators/atomic/__tests__/heaterShakerCloseLatch.test.d.ts +1 -0
- package/lib/commandCreators/atomic/__tests__/heaterShakerDeactivateHeater.test.d.ts +1 -0
- package/lib/commandCreators/atomic/__tests__/heaterShakerSetTargetShakeSpeed.test.d.ts +1 -0
- package/lib/commandCreators/atomic/__tests__/heaterShakerStopShake.test.d.ts +1 -0
- package/lib/commandCreators/atomic/absorbanceReaderCloseLid.d.ts +2 -3
- package/lib/commandCreators/atomic/absorbanceReaderInitialize.d.ts +2 -3
- package/lib/commandCreators/atomic/absorbanceReaderOpenLid.d.ts +2 -3
- package/lib/commandCreators/atomic/absorbanceReaderRead.d.ts +2 -3
- package/lib/commandCreators/atomic/aspirateInPlace.d.ts +2 -3
- package/lib/commandCreators/atomic/aspirateWhileTracking.d.ts +2 -3
- package/lib/commandCreators/atomic/blowOutInPlace.d.ts +2 -3
- package/lib/commandCreators/atomic/blowOutInWell.d.ts +2 -3
- package/lib/commandCreators/atomic/configureForVolume.d.ts +2 -3
- package/lib/commandCreators/atomic/configureNozzleLayout.d.ts +2 -3
- package/lib/commandCreators/atomic/deactivateTemperature.d.ts +2 -3
- package/lib/commandCreators/atomic/dispenseInPlace.d.ts +2 -7
- package/lib/commandCreators/atomic/dispenseWhileTracking.d.ts +2 -3
- package/lib/commandCreators/atomic/dropTip.d.ts +2 -9
- package/lib/commandCreators/atomic/heaterShakerCloseLatch.d.ts +2 -3
- package/lib/commandCreators/atomic/heaterShakerDeactivateHeater.d.ts +2 -3
- package/lib/commandCreators/atomic/heaterShakerOpenLatch.d.ts +2 -3
- package/lib/commandCreators/atomic/heaterShakerSetTargetShakeSpeed.d.ts +2 -3
- package/lib/commandCreators/atomic/heaterShakerStopShake.d.ts +2 -3
- package/lib/commandCreators/atomic/pickUpTip.d.ts +2 -9
- package/lib/commandCreators/atomic/prepareToAspirate.d.ts +2 -3
- package/lib/commandCreators/atomic/setTemperature.d.ts +2 -3
- package/lib/commandCreators/atomic/touchTip.d.ts +2 -7
- package/lib/commandCreators/atomic/vacuumCloseVent.d.ts +2 -2
- package/lib/commandCreators/atomic/vacuumOpenVent.d.ts +2 -3
- package/lib/commandCreators/atomic/vacuumSetPumpPower.d.ts +2 -2
- package/lib/commandCreators/atomic/vacuumSetPumpPressure.d.ts +2 -2
- package/lib/commandCreators/atomic/vacuumStartRunProfile.d.ts +2 -2
- package/lib/commandCreators/atomic/vacuumStopPump.d.ts +2 -3
- package/lib/commandCreators/atomic/waitForTemperature.d.ts +2 -3
- package/lib/constants.d.ts +4 -0
- package/lib/errorCreators.d.ts +3 -0
- package/lib/index.cjs +105 -100
- package/lib/index.mjs +7210 -6670
- package/lib/types.d.ts +152 -7
- package/lib/utils/misc.d.ts +48 -1
- package/lib/utils/pythonFileUtils.d.ts +2 -1
- package/lib/utils/pythonFormat.d.ts +9 -2
- package/lib/utils/vacuumPythonArgs/getVacuumPumpHoldArgsPython.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const absorbanceReaderCloseLid: CommandCreator<AbsorbanceReaderCloseLidCreateCommand['params']>;
|
|
1
|
+
import type { CommandCreator, ModuleStepGenArgs } from '../../types';
|
|
2
|
+
export declare const absorbanceReaderCloseLid: CommandCreator<ModuleStepGenArgs>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const absorbanceReaderInitialize: CommandCreator<AbsorbanceReaderInitializeCreateCommand['params']>;
|
|
1
|
+
import type { AbsorbanceReaderInitializeStepGenArgs, CommandCreator } from '../../types';
|
|
2
|
+
export declare const absorbanceReaderInitialize: CommandCreator<AbsorbanceReaderInitializeStepGenArgs>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const absorbanceReaderOpenLid: CommandCreator<AbsorbanceReaderOpenLidCreateCommand['params']>;
|
|
1
|
+
import type { CommandCreator, ModuleStepGenArgs } from '../../types';
|
|
2
|
+
export declare const absorbanceReaderOpenLid: CommandCreator<ModuleStepGenArgs>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const absorbanceReaderRead: CommandCreator<AbsorbanceReaderReadCreateCommand['params']>;
|
|
1
|
+
import type { AbsorbanceReaderReadStepGenArgs, CommandCreator } from '../../types';
|
|
2
|
+
export declare const absorbanceReaderRead: CommandCreator<AbsorbanceReaderReadStepGenArgs>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const aspirateInPlace: CommandCreator<AspirateInPlaceParams>;
|
|
1
|
+
import type { AspirateInPlaceStepGenArgs, CommandCreator } from '../../types';
|
|
2
|
+
export declare const aspirateInPlace: CommandCreator<AspirateInPlaceStepGenArgs>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const aspirateWhileTracking: CommandCreator<AspirateWhileTrackingCreateCommand['params']>;
|
|
1
|
+
import type { AspirateWhileTrackingStepGenArgs, CommandCreator } from '../../types';
|
|
2
|
+
export declare const aspirateWhileTracking: CommandCreator<AspirateWhileTrackingStepGenArgs>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const blowOutInPlace: CommandCreator<BlowoutInPlaceParams>;
|
|
1
|
+
import type { BlowOutInPlaceStepGenArgs, CommandCreator } from '../../types';
|
|
2
|
+
export declare const blowOutInPlace: CommandCreator<BlowOutInPlaceStepGenArgs>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const blowOutInWell: CommandCreator<BlowoutParams>;
|
|
1
|
+
import type { BlowOutInWellStepGenArgs, CommandCreator } from '../../types';
|
|
2
|
+
export declare const blowOutInWell: CommandCreator<BlowOutInWellStepGenArgs>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const configureForVolume: CommandCreator<ConfigureForVolumeParams>;
|
|
1
|
+
import type { CommandCreator, ConfigureForVolumeStepGenArgs } from '../../types';
|
|
2
|
+
export declare const configureForVolume: CommandCreator<ConfigureForVolumeStepGenArgs>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const configureNozzleLayout: CommandCreator<ConfigureNozzleLayoutParams>;
|
|
1
|
+
import type { CommandCreator, ConfigureNozzleLayoutStepGenArgs } from '../../types';
|
|
2
|
+
export declare const configureNozzleLayout: CommandCreator<ConfigureNozzleLayoutStepGenArgs>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { CommandCreator } from '../../types';
|
|
1
|
+
import type { CommandCreator, ModuleStepGenArgs } from '../../types';
|
|
3
2
|
/** Disengage temperature target for specified module. */
|
|
4
|
-
export declare const deactivateTemperature: CommandCreator<
|
|
3
|
+
export declare const deactivateTemperature: CommandCreator<ModuleStepGenArgs>;
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
interface DispenseInPlaceAtomicParams extends DispenseInPlaceParams {
|
|
4
|
-
isAirGap?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare const dispenseInPlace: CommandCreator<DispenseInPlaceAtomicParams>;
|
|
7
|
-
export {};
|
|
1
|
+
import type { CommandCreator, DispenseInPlaceStepGenArgs } from '../../types';
|
|
2
|
+
export declare const dispenseInPlace: CommandCreator<DispenseInPlaceStepGenArgs>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const dispenseWhileTracking: CommandCreator<DispenseWhileTrackingParams>;
|
|
1
|
+
import type { CommandCreator, DispenseWhileTrackingStepGenArgs } from '../../types';
|
|
2
|
+
export declare const dispenseWhileTracking: CommandCreator<DispenseWhileTrackingStepGenArgs>;
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import type { CommandCreator } from '../../types';
|
|
2
|
-
interface DropTipArgs {
|
|
3
|
-
pipette: string;
|
|
4
|
-
wellName?: string;
|
|
5
|
-
dropTipLocation?: string;
|
|
6
|
-
isReturnTip?: boolean;
|
|
7
|
-
}
|
|
1
|
+
import type { CommandCreator, DropTipStepGenArgs } from '../../types';
|
|
8
2
|
/**
|
|
9
3
|
* Note that this command creator is now only applied to dropping tips into tipracks
|
|
10
4
|
* For dropping tips into trash bins or waste chutes, use dropTipInWasteChute or dropTipInTrashBin
|
|
11
5
|
*/
|
|
12
|
-
export declare const dropTip: CommandCreator<
|
|
13
|
-
export {};
|
|
6
|
+
export declare const dropTip: CommandCreator<DropTipStepGenArgs>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const heaterShakerCloseLatch: CommandCreator<ModuleOnlyParams>;
|
|
1
|
+
import type { CommandCreator, ModuleStepGenArgs } from '../../types';
|
|
2
|
+
export declare const heaterShakerCloseLatch: CommandCreator<ModuleStepGenArgs>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const heaterShakerDeactivateHeater: CommandCreator<ModuleOnlyParams>;
|
|
1
|
+
import type { CommandCreator, ModuleStepGenArgs } from '../../types';
|
|
2
|
+
export declare const heaterShakerDeactivateHeater: CommandCreator<ModuleStepGenArgs>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const heaterShakerOpenLatch: CommandCreator<ModuleOnlyParams>;
|
|
1
|
+
import type { CommandCreator, ModuleStepGenArgs } from '../../types';
|
|
2
|
+
export declare const heaterShakerOpenLatch: CommandCreator<ModuleStepGenArgs>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const heaterShakerSetTargetShakeSpeed: CommandCreator<HeaterShakerSetAndWaitForShakeSpeedCreateCommand['params']>;
|
|
1
|
+
import type { CommandCreator, HeaterShakerSetTargetShakeSpeedStepGenArgs } from '../../types';
|
|
2
|
+
export declare const heaterShakerSetTargetShakeSpeed: CommandCreator<HeaterShakerSetTargetShakeSpeedStepGenArgs>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const heaterShakerStopShake: CommandCreator<ModuleOnlyParams>;
|
|
1
|
+
import type { CommandCreator, ModuleStepGenArgs } from '../../types';
|
|
2
|
+
export declare const heaterShakerStopShake: CommandCreator<ModuleStepGenArgs>;
|
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
interface PickUpTipAtomicParams extends PickUpTipParams {
|
|
4
|
-
primaryNozzle: PrimaryNozzleConfigurationStyle;
|
|
5
|
-
nozzles: NozzleConfigurationStyle;
|
|
6
|
-
tipTrackingOption?: TipTrackingOption;
|
|
7
|
-
}
|
|
8
|
-
export declare const pickUpTip: CommandCreator<PickUpTipAtomicParams>;
|
|
9
|
-
export {};
|
|
1
|
+
import type { CommandCreator, PickUpTipStepGenArgs } from '../../types';
|
|
2
|
+
export declare const pickUpTip: CommandCreator<PickUpTipStepGenArgs>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const prepareToAspirate: CommandCreator<PrepareToAspirateParams>;
|
|
1
|
+
import type { CommandCreator, PrepareToAspirateStepGenArgs } from '../../types';
|
|
2
|
+
export declare const prepareToAspirate: CommandCreator<PrepareToAspirateStepGenArgs>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { CommandCreator } from '../../types';
|
|
1
|
+
import type { CommandCreator, SetTemperatureStepGenArgs } from '../../types';
|
|
3
2
|
/** Set temperature target for specified module. */
|
|
4
|
-
export declare const setTemperature: CommandCreator<
|
|
3
|
+
export declare const setTemperature: CommandCreator<SetTemperatureStepGenArgs>;
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
interface TouchTipAtomicParams extends Omit<TouchTipParams, 'wellLocation'> {
|
|
4
|
-
zOffsetFromTop: number;
|
|
5
|
-
}
|
|
6
|
-
export declare const touchTip: CommandCreator<TouchTipAtomicParams>;
|
|
7
|
-
export {};
|
|
1
|
+
import type { CommandCreator, TouchTipStepGenArgs } from '../../types';
|
|
2
|
+
export declare const touchTip: CommandCreator<TouchTipStepGenArgs>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CommandCreator,
|
|
2
|
-
export declare const vacuumCloseVent: CommandCreator<
|
|
1
|
+
import type { CommandCreator, ModuleStepGenArgs } from '../../types';
|
|
2
|
+
export declare const vacuumCloseVent: CommandCreator<ModuleStepGenArgs>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const vacuumOpenVent: CommandCreator<VacuumModuleOpenVentCreateCommand['params']>;
|
|
1
|
+
import type { CommandCreator, ModuleStepGenArgs } from '../../types';
|
|
2
|
+
export declare const vacuumOpenVent: CommandCreator<ModuleStepGenArgs>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CommandCreator,
|
|
2
|
-
export declare const vacuumSetPumpPower: CommandCreator<
|
|
1
|
+
import type { CommandCreator, VacuumSetPumpPowerStepGenArgs } from '../../types';
|
|
2
|
+
export declare const vacuumSetPumpPower: CommandCreator<VacuumSetPumpPowerStepGenArgs>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CommandCreator,
|
|
2
|
-
export declare const vacuumSetPumpPressure: CommandCreator<
|
|
1
|
+
import type { CommandCreator, VacuumSetPumpPressureStepGenArgs } from '../../types';
|
|
2
|
+
export declare const vacuumSetPumpPressure: CommandCreator<VacuumSetPumpPressureStepGenArgs>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CommandCreator,
|
|
2
|
-
export declare const vacuumStartRunProfile: CommandCreator<
|
|
1
|
+
import type { CommandCreator, VacuumStartRunProfileStepGenArgs } from '../../types';
|
|
2
|
+
export declare const vacuumStartRunProfile: CommandCreator<VacuumStartRunProfileStepGenArgs>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const vacuumStopPump: CommandCreator<VacuumModuleStopPumpCreateCommand['params']>;
|
|
1
|
+
import type { CommandCreator, ModuleStepGenArgs } from '../../types';
|
|
2
|
+
export declare const vacuumStopPump: CommandCreator<ModuleStepGenArgs>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { CommandCreator } from '../../types';
|
|
1
|
+
import type { CommandCreator, WaitForTemperatureStepGenArgs } from '../../types';
|
|
3
2
|
/** Set temperature target for specified module. */
|
|
4
|
-
export declare const waitForTemperature: CommandCreator<
|
|
3
|
+
export declare const waitForTemperature: CommandCreator<WaitForTemperatureStepGenArgs>;
|
package/lib/constants.d.ts
CHANGED
|
@@ -57,4 +57,8 @@ export declare const VACUUM_VENT_SET_CLOSED: 'closed';
|
|
|
57
57
|
export declare const VACUUM_DEACTIVATED: 'VACUUM_DEACTIVATED';
|
|
58
58
|
export declare const VACUUM_AT_TARGET: 'VACUUM_AT_TARGET';
|
|
59
59
|
export declare const VACUUM_SPACER_LOAD_NAMES: string[];
|
|
60
|
+
export declare const MAX_STACKABLE_VACUUM_SPACERS = 3;
|
|
60
61
|
export declare const VACUUM_DOCK_DISPLAY_LOCATION: 'A4';
|
|
62
|
+
export declare const NOZZLE_STYLES: readonly string[];
|
|
63
|
+
export declare const PRIMARY_NOZZLES: readonly string[];
|
|
64
|
+
export declare const BACK_LEFT_NOZZLES: readonly string[];
|
package/lib/errorCreators.d.ts
CHANGED
|
@@ -29,6 +29,9 @@ export declare function tipVolumeExceeded(args: {
|
|
|
29
29
|
volume: string | number;
|
|
30
30
|
maxVolume: string | number;
|
|
31
31
|
}): CommandCreatorError;
|
|
32
|
+
export declare function invalidRuntimeParameter(args: {
|
|
33
|
+
parameterName: string;
|
|
34
|
+
}): CommandCreatorError;
|
|
32
35
|
export declare function pipetteVolumeExceeded(args: {
|
|
33
36
|
actionName: string;
|
|
34
37
|
volume: string | number;
|