@opentrons/step-generation 0.3.0-alpha.0 → 0.3.1-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__/vacuumCloseVent.test.d.ts +1 -0
- package/lib/commandCreators/atomic/__tests__/vacuumOpenVent.test.d.ts +1 -0
- package/lib/commandCreators/atomic/__tests__/vacuumSetPumpPower.test.d.ts +1 -0
- package/lib/commandCreators/atomic/__tests__/vacuumSetPumpPressure.test.d.ts +1 -0
- package/lib/commandCreators/atomic/__tests__/vacuumStartRunProfile.test.d.ts +1 -0
- package/lib/commandCreators/atomic/__tests__/vacuumStopPump.test.d.ts +1 -0
- package/lib/commandCreators/atomic/index.d.ts +6 -0
- package/lib/commandCreators/atomic/vacuumCloseVent.d.ts +2 -0
- package/lib/commandCreators/atomic/vacuumOpenVent.d.ts +3 -0
- package/lib/commandCreators/atomic/vacuumSetPumpPower.d.ts +2 -0
- package/lib/commandCreators/atomic/vacuumSetPumpPressure.d.ts +2 -0
- package/lib/commandCreators/atomic/vacuumStartRunProfile.d.ts +3 -0
- package/lib/commandCreators/atomic/vacuumStopPump.d.ts +3 -0
- package/lib/commandCreators/index.d.ts +1 -1
- package/lib/constants.d.ts +4 -1
- package/lib/errorCreators.d.ts +3 -0
- package/lib/getNextRobotStateAndWarnings/__tests__/forSetTipState.test.d.ts +1 -0
- package/lib/getNextRobotStateAndWarnings/__tests__/vacuumUpdates.test.d.ts +1 -0
- package/lib/getNextRobotStateAndWarnings/forSetTipState.d.ts +3 -0
- package/lib/getNextRobotStateAndWarnings/forWaitForTasks.d.ts +2 -1
- package/lib/getNextRobotStateAndWarnings/thermocyclerUpdates.d.ts +2 -2
- package/lib/getNextRobotStateAndWarnings/vacuumUpdates.d.ts +9 -0
- package/lib/index.cjs +107 -162
- package/lib/index.d.ts +1 -1
- package/lib/index.mjs +7421 -9903
- package/lib/types.d.ts +110 -15
- package/lib/utils/__tests__/getModuleHasLiveTask.test.d.ts +1 -0
- package/lib/utils/__tests__/getPipetteCriticalPoint.test.d.ts +1 -0
- package/lib/utils/getModuleHasLiveTask.d.ts +2 -0
- package/lib/utils/getPipetteCriticalPoint.d.ts +3 -0
- package/lib/utils/index.d.ts +2 -1
- package/lib/utils/safePipetteMovements.d.ts +3 -7
- package/lib/utils/vacuumPythonArgs/__tests__/getVacuumProfileStepString.test.d.ts +1 -0
- package/lib/utils/vacuumPythonArgs/__tests__/getVacuumPumpHoldArgsPython.test.d.ts +1 -0
- package/lib/utils/vacuumPythonArgs/getVacuumProfileStepString.d.ts +2 -0
- package/lib/utils/vacuumPythonArgs/getVacuumPumpHoldArgsPython.d.ts +1 -0
- package/package.json +3 -3
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 {};
|
|
@@ -33,4 +33,10 @@ export { thermocyclerStartRunExtendedProfile } from './thermocyclerStartRunExten
|
|
|
33
33
|
export { prepareToAspirate } from './prepareToAspirate';
|
|
34
34
|
export { setTemperature } from './setTemperature';
|
|
35
35
|
export { touchTip } from './touchTip';
|
|
36
|
+
export { vacuumCloseVent } from './vacuumCloseVent';
|
|
37
|
+
export { vacuumOpenVent } from './vacuumOpenVent';
|
|
38
|
+
export { vacuumSetPumpPower } from './vacuumSetPumpPower';
|
|
39
|
+
export { vacuumSetPumpPressure } from './vacuumSetPumpPressure';
|
|
40
|
+
export { vacuumStartRunProfile } from './vacuumStartRunProfile';
|
|
41
|
+
export { vacuumStopPump } from './vacuumStopPump';
|
|
36
42
|
export { waitForTemperature } from './waitForTemperature';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { absorbanceReaderCloseInitialize, absorbanceReaderCloseRead, consolidate, distribute, dropTipInTrash, dropTipInWasteChute, heaterShaker, mix, replaceTip, thermocyclerProfileStep, thermocyclerStateStep, transfer, waitForModuleTask, } from './compound';
|
|
2
|
-
export { absorbanceReaderCloseLid, absorbanceReaderInitialize, absorbanceReaderOpenLid, absorbanceReaderRead, aspirate, blowOutInWell, captureImage, comment, deactivateTemperature, delay, disengageMagnet, dispense, dropTip, dropTipInPlace, engageMagnet, flexStackerEmpty, flexStackerFillItems, flexStackerRetrieve, flexStackerStore, moveLabware, moveToAddressableArea, moveToAddressableAreaForDropTip, setTemperature, touchTip, waitForTemperature, } from './atomic';
|
|
2
|
+
export { absorbanceReaderCloseLid, absorbanceReaderInitialize, absorbanceReaderOpenLid, absorbanceReaderRead, aspirate, blowOutInWell, captureImage, comment, deactivateTemperature, delay, disengageMagnet, dispense, dropTip, dropTipInPlace, engageMagnet, flexStackerEmpty, flexStackerFillItems, flexStackerRetrieve, flexStackerStore, moveLabware, moveToAddressableArea, moveToAddressableAreaForDropTip, setTemperature, touchTip, vacuumCloseVent, vacuumOpenVent, vacuumSetPumpPower, vacuumSetPumpPressure, vacuumStartRunProfile, vacuumStopPump, waitForTemperature, } from './atomic';
|
package/lib/constants.d.ts
CHANGED
|
@@ -47,9 +47,12 @@ export declare const VACUUM_MODE_POWER: 'power';
|
|
|
47
47
|
export declare const VACUUM_MODE_PRESSURE: 'pressure';
|
|
48
48
|
export declare const VACUUM_PROGRAM_STATE: 'state';
|
|
49
49
|
export declare const VACUUM_PROGRAM_PROFILE: 'profile';
|
|
50
|
-
export declare const
|
|
50
|
+
export declare const VACUUM_STATE_PUMP_OFF: 'pumpOff';
|
|
51
|
+
export declare const VACUUM_STATE_PUMP_ON: 'pumpOn';
|
|
51
52
|
export declare const VACUUM_STATE_VENT: 'vent';
|
|
52
53
|
export declare const VACUUM_VENT_SET_OPEN: 'open';
|
|
53
54
|
export declare const VACUUM_VENT_SET_CLOSED: 'closed';
|
|
54
55
|
export declare const VACUUM_MIN_PRESSURE_MBAR = 0.1;
|
|
55
56
|
export declare const VACUUM_MAX_PRESSURE_MBAR = 1000;
|
|
57
|
+
export declare const VACUUM_DEACTIVATED: 'VACUUM_DEACTIVATED';
|
|
58
|
+
export declare const VACUUM_AT_TARGET: 'VACUUM_AT_TARGET';
|
package/lib/errorCreators.d.ts
CHANGED
|
@@ -87,3 +87,6 @@ export declare const stackTooHigh: (args: {
|
|
|
87
87
|
export declare const tooManyTips: () => CommandCreatorError;
|
|
88
88
|
export declare const incompletePickup: () => CommandCreatorError;
|
|
89
89
|
export declare const labwareOnHopper: () => CommandCreatorError;
|
|
90
|
+
export declare const missingPumpActivity: () => CommandCreatorError;
|
|
91
|
+
export declare const invalidWaitCondition: (waitCondition: string) => CommandCreatorError;
|
|
92
|
+
export declare const liveTaskError: () => CommandCreatorError;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { SetTipStateParams } from '@opentrons/shared-data';
|
|
2
|
+
import type { InvariantContext, RobotStateAndWarnings } from '../types';
|
|
3
|
+
export declare function forSetTipState(params: SetTipStateParams, _invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import type { WaitForTasksParams } from '@opentrons/shared-data';
|
|
1
|
+
import type { ModuleType, WaitForTasksParams } from '@opentrons/shared-data';
|
|
2
2
|
import type { InvariantContext, RobotStateAndWarnings } from '../types';
|
|
3
3
|
export declare function forWaitForTasks(params: WaitForTasksParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
|
|
4
|
+
export declare const handleWaitForTaskForModules: (taskId: string, robotStateAndWarnings: RobotStateAndWarnings, moduleType?: ModuleType) => boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TCExtendedProfileParams, TCStartExtendedProfileParams } from '@opentrons/shared-data';
|
|
2
2
|
import type { ModuleOnlyParams, TCProfileParams, TemperatureParams, ThermocyclerSetTargetBlockTemperatureParams } from '@opentrons/shared-data/protocol/types/schemaV6/command/module';
|
|
3
|
-
import type { InvariantContext, RobotStateAndWarnings } from '../types';
|
|
3
|
+
import type { InvariantContext, RobotStateAndWarnings, ThermocyclerModuleState } from '../types';
|
|
4
4
|
export declare const forThermocyclerSetTargetBlockTemperature: (params: ThermocyclerSetTargetBlockTemperatureParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
|
|
5
5
|
export declare const forThermocyclerSetTargetLidTemperature: (params: TemperatureParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
|
|
6
6
|
export declare const forThermocyclerAwaitBlockTemperature: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
|
|
@@ -19,4 +19,4 @@ export declare const forThermocyclerStartRunExtendedProfile: (params: TCStartExt
|
|
|
19
19
|
* This returns `true` if this task was found to be a Thermocycler-related task.
|
|
20
20
|
* If it's not a Thermocycler-related task, this returns `false` and no-ops.
|
|
21
21
|
*/
|
|
22
|
-
export declare const handleWaitForTaskForThermocyclers: (
|
|
22
|
+
export declare const handleWaitForTaskForThermocyclers: (thermocyclerModuleState: ThermocyclerModuleState) => boolean;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { VacuumModuleOpenVentCreateCommand, VacuumModuleSetTargetPowerCreateCommand, VacuumModuleSetTargetPressureCreateCommand, VacuumModuleStartRunProfileCreateCommand, VacuumModuleStopPumpCreateCommand } from '@opentrons/shared-data';
|
|
2
|
+
import type { InvariantContext, RobotStateAndWarnings, VacuumModuleState } from '../types';
|
|
3
|
+
export declare const forVacuumOpenVent: (params: VacuumModuleOpenVentCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
|
|
4
|
+
export declare const forVacuumCloseVent: (params: VacuumModuleOpenVentCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
|
|
5
|
+
export declare const forVacuumSetPumpPressure: (params: VacuumModuleSetTargetPressureCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
|
|
6
|
+
export declare const forVacuumSetPumpPower: (params: VacuumModuleSetTargetPowerCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
|
|
7
|
+
export declare const forVacuumStopPump: (params: VacuumModuleStopPumpCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
|
|
8
|
+
export declare const forVacuumStartRunProfile: (params: VacuumModuleStartRunProfileCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
|
|
9
|
+
export declare const handleWaitForTaskForVacuums: (vacuumModuleState: VacuumModuleState) => boolean;
|