@opentrons/shared-data 0.0.0-alpha.14
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/Makefile +100 -0
- package/command/schemas/7.json +3301 -0
- package/command/schemas/8.json +3632 -0
- package/command/types/annotation.ts +37 -0
- package/command/types/calibration.ts +84 -0
- package/command/types/gantry.ts +176 -0
- package/command/types/incidental.ts +21 -0
- package/command/types/index.ts +77 -0
- package/command/types/module.ts +307 -0
- package/command/types/pipetting.ts +228 -0
- package/command/types/setup.ts +199 -0
- package/command/types/timing.ts +58 -0
- package/commandAnnotation/schemas/1.json +74 -0
- package/commandAnnotation/types/index.ts +19 -0
- package/deck/definitions/3/ot2_short_trash.json +477 -0
- package/deck/definitions/3/ot2_standard.json +477 -0
- package/deck/definitions/3/ot3_standard.json +989 -0
- package/deck/definitions/4/ot2_short_trash.json +403 -0
- package/deck/definitions/4/ot2_standard.json +403 -0
- package/deck/definitions/4/ot3_standard.json +597 -0
- package/deck/fixtures/3/deckExample.json +481 -0
- package/deck/index.ts +1 -0
- package/deck/schemas/1.json +240 -0
- package/deck/schemas/2.json +250 -0
- package/deck/schemas/3.json +297 -0
- package/deck/schemas/4.json +321 -0
- package/deck/types/schemaV4.ts +84 -0
- package/errors/definitions/1/errors.json +222 -0
- package/errors/schemas/1.json +50 -0
- package/gripper/definitions/1/gripperV1.1.json +28 -0
- package/gripper/definitions/1/gripperV1.2.json +28 -0
- package/gripper/definitions/1/gripperV1.json +27 -0
- package/gripper/schemas/1.json +181 -0
- package/js/__tests__/__snapshots__/pipettes.test.ts.snap +5969 -0
- package/js/__tests__/deckSchemas.test.ts +87 -0
- package/js/__tests__/errors.test.js +21 -0
- package/js/__tests__/getAreSlotsAdjacent.test.ts +128 -0
- package/js/__tests__/getWellNamePerMultiTip.test.ts +162 -0
- package/js/__tests__/labwareDefQuirks.test.ts +37 -0
- package/js/__tests__/labwareDefSchemaV1.test.ts +82 -0
- package/js/__tests__/labwareDefSchemaV2.test.ts +298 -0
- package/js/__tests__/moduleAccessors.test.ts +50 -0
- package/js/__tests__/moduleSpecsSchema.test.ts +77 -0
- package/js/__tests__/pipetteSchemaV2.test.ts +107 -0
- package/js/__tests__/pipetteSpecSchemas.test.ts +48 -0
- package/js/__tests__/pipettes.test.ts +58 -0
- package/js/__tests__/protocolSchemaV4.test.ts +137 -0
- package/js/__tests__/protocolSchemaV5.test.ts +137 -0
- package/js/__tests__/protocolSchemaV6.test.ts +132 -0
- package/js/__tests__/protocolSchemaV7.test.ts +64 -0
- package/js/__tests__/protocolValidation.test.ts +83 -0
- package/js/__tests__/sortWells.test.ts +40 -0
- package/js/__tests__/splitWellsOnColumn.test.ts +21 -0
- package/js/__tests__/validateErrors.test.js +34 -0
- package/js/constants.ts +336 -0
- package/js/cypressUtils.ts +35 -0
- package/js/errors.ts +33 -0
- package/js/fixtures.ts +161 -0
- package/js/getLabware.ts +162 -0
- package/js/gripper.ts +29 -0
- package/js/helpers/__tests__/getAdapterName.test.ts +31 -0
- package/js/helpers/__tests__/getDeckDefFromLoadedLabware.test.ts +12 -0
- package/js/helpers/__tests__/getVectorDifference.test.ts +25 -0
- package/js/helpers/__tests__/getVectorSum.test.ts +21 -0
- package/js/helpers/__tests__/labwareInference.test.ts +84 -0
- package/js/helpers/__tests__/orderWells.test.ts +87 -0
- package/js/helpers/__tests__/parseProtocolData.test.ts +165 -0
- package/js/helpers/__tests__/volume.test.ts +108 -0
- package/js/helpers/__tests__/wellSets.test.ts +352 -0
- package/js/helpers/get96Channel384WellPlateWells.ts +44 -0
- package/js/helpers/getLoadedLabwareDefinitionsByUri.ts +30 -0
- package/js/helpers/getModuleVizDims.ts +118 -0
- package/js/helpers/getOccludedSlotCountForModule.ts +13 -0
- package/js/helpers/getVectorDifference.ts +12 -0
- package/js/helpers/getVectorSum.ts +12 -0
- package/js/helpers/getWellNamePerMultiTip.ts +86 -0
- package/js/helpers/getWellTotalVolume.ts +16 -0
- package/js/helpers/index.ts +346 -0
- package/js/helpers/labwareInference.ts +92 -0
- package/js/helpers/orderWells.ts +69 -0
- package/js/helpers/parseProtocolData.ts +141 -0
- package/js/helpers/volume.ts +35 -0
- package/js/helpers/wellIsRect.ts +6 -0
- package/js/helpers/wellSets.ts +150 -0
- package/js/index.ts +14 -0
- package/js/labwareTools/__tests__/__snapshots__/createIrregularLabware.test.ts.snap +3 -0
- package/js/labwareTools/__tests__/__snapshots__/createLabware.test.ts.snap +3 -0
- package/js/labwareTools/__tests__/createDefaultDisplayName.test.ts +111 -0
- package/js/labwareTools/__tests__/createIrregularLabware.test.ts +226 -0
- package/js/labwareTools/__tests__/createLabware.test.ts +147 -0
- package/js/labwareTools/index.ts +452 -0
- package/js/modules.ts +97 -0
- package/js/pipettes.ts +89 -0
- package/js/protocols.ts +290 -0
- package/js/schema.ts +80 -0
- package/js/scripts/build.js +32 -0
- package/js/scripts/generateDeckLayersFromSVG.js +46 -0
- package/js/titleCase.ts +30 -0
- package/js/types.ts +600 -0
- package/labware/definitions/1/12-well-plate.json +147 -0
- package/labware/definitions/1/24-vial-rack.json +281 -0
- package/labware/definitions/1/24-well-plate.json +281 -0
- package/labware/definitions/1/384-plate.json +4667 -0
- package/labware/definitions/1/48-vial-plate.json +547 -0
- package/labware/definitions/1/48-well-plate.json +547 -0
- package/labware/definitions/1/5ml-3x4.json +147 -0
- package/labware/definitions/1/6-well-plate.json +80 -0
- package/labware/definitions/1/96-PCR-flat.json +1079 -0
- package/labware/definitions/1/96-PCR-tall.json +1079 -0
- package/labware/definitions/1/96-deep-well.json +1079 -0
- package/labware/definitions/1/96-flat.json +1079 -0
- package/labware/definitions/1/96-well-plate-20mm.json +1079 -0
- package/labware/definitions/1/MALDI-plate.json +4282 -0
- package/labware/definitions/1/PCR-strip-tall.json +1079 -0
- package/labware/definitions/1/T25-flask.json +20 -0
- package/labware/definitions/1/T75-flask.json +20 -0
- package/labware/definitions/1/alum-block-pcr-strips.json +188 -0
- package/labware/definitions/1/biorad-hardshell-96-PCR.json +1079 -0
- package/labware/definitions/1/e-gelgol.json +1078 -0
- package/labware/definitions/1/fixed-trash.json +19 -0
- package/labware/definitions/1/hampton-1ml-deep-block.json +1078 -0
- package/labware/definitions/1/opentrons-aluminum-block-2ml-eppendorf.json +281 -0
- package/labware/definitions/1/opentrons-aluminum-block-2ml-screwcap.json +281 -0
- package/labware/definitions/1/opentrons-aluminum-block-96-PCR-plate.json +1079 -0
- package/labware/definitions/1/opentrons-aluminum-block-PCR-strips-200ul.json +1079 -0
- package/labware/definitions/1/opentrons-tiprack-10ul.json +986 -0
- package/labware/definitions/1/opentrons-tiprack-300ul.json +986 -0
- package/labware/definitions/1/opentrons-tuberack-1.5ml-eppendorf.json +281 -0
- package/labware/definitions/1/opentrons-tuberack-15_50ml.json +125 -0
- package/labware/definitions/1/opentrons-tuberack-15ml.json +181 -0
- package/labware/definitions/1/opentrons-tuberack-2ml-eppendorf.json +281 -0
- package/labware/definitions/1/opentrons-tuberack-2ml-screwcap.json +281 -0
- package/labware/definitions/1/opentrons-tuberack-50ml.json +80 -0
- package/labware/definitions/1/point.json +18 -0
- package/labware/definitions/1/rigaku-compact-crystallization-plate.json +2146 -0
- package/labware/definitions/1/small_vial_rack_16x45.json +280 -0
- package/labware/definitions/1/tall-fixed-trash.json +19 -0
- package/labware/definitions/1/tiprack-1000ul-H.json +503 -0
- package/labware/definitions/1/tiprack-1000ul-chem.json +1034 -0
- package/labware/definitions/1/tiprack-1000ul.json +986 -0
- package/labware/definitions/1/tiprack-10ul-H.json +503 -0
- package/labware/definitions/1/tiprack-10ul.json +986 -0
- package/labware/definitions/1/tiprack-200ul.json +986 -0
- package/labware/definitions/1/trash-box.json +20 -0
- package/labware/definitions/1/trough-12row-short.json +143 -0
- package/labware/definitions/1/trough-12row.json +143 -0
- package/labware/definitions/1/trough-1row-25ml.json +21 -0
- package/labware/definitions/1/tube-rack-.75ml.json +281 -0
- package/labware/definitions/1/tube-rack-15_50ml.json +125 -0
- package/labware/definitions/1/tube-rack-2ml-9x9.json +911 -0
- package/labware/definitions/1/tube-rack-2ml.json +281 -0
- package/labware/definitions/1/tube-rack-5ml-96.json +1079 -0
- package/labware/definitions/1/tube-rack-80well.json +907 -0
- package/labware/definitions/1/wheaton_vial_rack.json +565 -0
- package/labware/definitions/2/agilent_1_reservoir_290ml/1.json +54 -0
- package/labware/definitions/2/appliedbiosystemsmicroamp_384_wellplate_40ul/1.json +4320 -0
- package/labware/definitions/2/armadillo_96_wellplate_200ul_pcr_full_skirt/1.json +1019 -0
- package/labware/definitions/2/armadillo_96_wellplate_200ul_pcr_full_skirt/2.json +1045 -0
- package/labware/definitions/2/axygen_1_reservoir_90ml/1.json +56 -0
- package/labware/definitions/2/biorad_384_wellplate_50ul/1.json +4329 -0
- package/labware/definitions/2/biorad_384_wellplate_50ul/2.json +4331 -0
- package/labware/definitions/2/biorad_96_wellplate_200ul_pcr/1.json +1020 -0
- package/labware/definitions/2/biorad_96_wellplate_200ul_pcr/2.json +1036 -0
- package/labware/definitions/2/corning_12_wellplate_6.9ml_flat/1.json +171 -0
- package/labware/definitions/2/corning_12_wellplate_6.9ml_flat/2.json +180 -0
- package/labware/definitions/2/corning_24_wellplate_3.4ml_flat/1.json +293 -0
- package/labware/definitions/2/corning_24_wellplate_3.4ml_flat/2.json +300 -0
- package/labware/definitions/2/corning_384_wellplate_112ul_flat/1.json +4703 -0
- package/labware/definitions/2/corning_384_wellplate_112ul_flat/2.json +4717 -0
- package/labware/definitions/2/corning_48_wellplate_1.6ml_flat/1.json +535 -0
- package/labware/definitions/2/corning_48_wellplate_1.6ml_flat/2.json +544 -0
- package/labware/definitions/2/corning_6_wellplate_16.8ml_flat/1.json +103 -0
- package/labware/definitions/2/corning_6_wellplate_16.8ml_flat/2.json +110 -0
- package/labware/definitions/2/corning_96_wellplate_360ul_flat/1.json +1049 -0
- package/labware/definitions/2/corning_96_wellplate_360ul_flat/2.json +1063 -0
- package/labware/definitions/2/eppendorf_96_tiprack_1000ul_eptips/1.json +1019 -0
- package/labware/definitions/2/eppendorf_96_tiprack_10ul_eptips/1.json +1019 -0
- package/labware/definitions/2/geb_96_tiprack_1000ul/1.json +1017 -0
- package/labware/definitions/2/geb_96_tiprack_10ul/1.json +1017 -0
- package/labware/definitions/2/nest_12_reservoir_15ml/1.json +190 -0
- package/labware/definitions/2/nest_1_reservoir_195ml/1.json +54 -0
- package/labware/definitions/2/nest_1_reservoir_195ml/2.json +56 -0
- package/labware/definitions/2/nest_1_reservoir_290ml/1.json +54 -0
- package/labware/definitions/2/nest_96_wellplate_100ul_pcr_full_skirt/1.json +1018 -0
- package/labware/definitions/2/nest_96_wellplate_100ul_pcr_full_skirt/2.json +1039 -0
- package/labware/definitions/2/nest_96_wellplate_200ul_flat/1.json +1017 -0
- package/labware/definitions/2/nest_96_wellplate_200ul_flat/2.json +1031 -0
- package/labware/definitions/2/nest_96_wellplate_2ml_deep/1.json +1121 -0
- package/labware/definitions/2/nest_96_wellplate_2ml_deep/2.json +1137 -0
- package/labware/definitions/2/opentrons_10_tuberack_falcon_4x50ml_6x15ml_conical/1.json +164 -0
- package/labware/definitions/2/opentrons_10_tuberack_falcon_4x50ml_6x15ml_conical_acrylic/1.json +162 -0
- package/labware/definitions/2/opentrons_10_tuberack_nest_4x50ml_6x15ml_conical/1.json +160 -0
- package/labware/definitions/2/opentrons_15_tuberack_falcon_15ml_conical/1.json +211 -0
- package/labware/definitions/2/opentrons_15_tuberack_nest_15ml_conical/1.json +209 -0
- package/labware/definitions/2/opentrons_1_trash_1100ml_fixed/1.json +50 -0
- package/labware/definitions/2/opentrons_1_trash_3200ml_fixed/1.json +50 -0
- package/labware/definitions/2/opentrons_1_trash_850ml_fixed/1.json +50 -0
- package/labware/definitions/2/opentrons_24_aluminumblock_generic_2ml_screwcap/1.json +300 -0
- package/labware/definitions/2/opentrons_24_aluminumblock_generic_2ml_screwcap/2.json +301 -0
- package/labware/definitions/2/opentrons_24_aluminumblock_nest_0.5ml_screwcap/1.json +299 -0
- package/labware/definitions/2/opentrons_24_aluminumblock_nest_1.5ml_screwcap/1.json +299 -0
- package/labware/definitions/2/opentrons_24_aluminumblock_nest_1.5ml_snapcap/1.json +301 -0
- package/labware/definitions/2/opentrons_24_aluminumblock_nest_2ml_screwcap/1.json +299 -0
- package/labware/definitions/2/opentrons_24_aluminumblock_nest_2ml_snapcap/1.json +301 -0
- package/labware/definitions/2/opentrons_24_tuberack_eppendorf_1.5ml_safelock_snapcap/1.json +312 -0
- package/labware/definitions/2/opentrons_24_tuberack_eppendorf_2ml_safelock_snapcap/1.json +311 -0
- package/labware/definitions/2/opentrons_24_tuberack_eppendorf_2ml_safelock_snapcap_acrylic/1.json +309 -0
- package/labware/definitions/2/opentrons_24_tuberack_generic_0.75ml_snapcap_acrylic/1.json +298 -0
- package/labware/definitions/2/opentrons_24_tuberack_generic_2ml_screwcap/1.json +300 -0
- package/labware/definitions/2/opentrons_24_tuberack_nest_0.5ml_screwcap/1.json +300 -0
- package/labware/definitions/2/opentrons_24_tuberack_nest_1.5ml_screwcap/1.json +300 -0
- package/labware/definitions/2/opentrons_24_tuberack_nest_1.5ml_snapcap/1.json +302 -0
- package/labware/definitions/2/opentrons_24_tuberack_nest_2ml_screwcap/1.json +300 -0
- package/labware/definitions/2/opentrons_24_tuberack_nest_2ml_snapcap/1.json +302 -0
- package/labware/definitions/2/opentrons_40_aluminumblock_eppendorf_24x2ml_safelock_snapcap_generic_16x0.2ml_pcr_strip/1.json +481 -0
- package/labware/definitions/2/opentrons_6_tuberack_falcon_50ml_conical/1.json +112 -0
- package/labware/definitions/2/opentrons_6_tuberack_nest_50ml_conical/1.json +110 -0
- package/labware/definitions/2/opentrons_96_aluminumblock_biorad_wellplate_200ul/1.json +1029 -0
- package/labware/definitions/2/opentrons_96_aluminumblock_generic_pcr_strip_200ul/1.json +1026 -0
- package/labware/definitions/2/opentrons_96_aluminumblock_generic_pcr_strip_200ul/2.json +1027 -0
- package/labware/definitions/2/opentrons_96_aluminumblock_nest_wellplate_100ul/1.json +1027 -0
- package/labware/definitions/2/opentrons_96_deep_well_adapter/1.json +41 -0
- package/labware/definitions/2/opentrons_96_deep_well_adapter_nest_wellplate_2ml_deep/1.json +1121 -0
- package/labware/definitions/2/opentrons_96_filtertiprack_1000ul/1.json +1017 -0
- package/labware/definitions/2/opentrons_96_filtertiprack_10ul/1.json +1017 -0
- package/labware/definitions/2/opentrons_96_filtertiprack_200ul/1.json +1017 -0
- package/labware/definitions/2/opentrons_96_filtertiprack_20ul/1.json +1017 -0
- package/labware/definitions/2/opentrons_96_flat_bottom_adapter/1.json +41 -0
- package/labware/definitions/2/opentrons_96_flat_bottom_adapter_nest_wellplate_200ul_flat/1.json +1027 -0
- package/labware/definitions/2/opentrons_96_pcr_adapter/1.json +1032 -0
- package/labware/definitions/2/opentrons_96_pcr_adapter_armadillo_wellplate_200ul/1.json +1027 -0
- package/labware/definitions/2/opentrons_96_pcr_adapter_nest_wellplate_100ul_pcr_full_skirt/1.json +1025 -0
- package/labware/definitions/2/opentrons_96_tiprack_1000ul/1.json +1019 -0
- package/labware/definitions/2/opentrons_96_tiprack_10ul/1.json +1019 -0
- package/labware/definitions/2/opentrons_96_tiprack_20ul/1.json +1019 -0
- package/labware/definitions/2/opentrons_96_tiprack_300ul/1.json +1019 -0
- package/labware/definitions/2/opentrons_96_well_aluminum_block/1.json +1032 -0
- package/labware/definitions/2/opentrons_96_wellplate_200ul_pcr_full_skirt/1.json +1019 -0
- package/labware/definitions/2/opentrons_96_wellplate_200ul_pcr_full_skirt/2.json +1045 -0
- package/labware/definitions/2/opentrons_aluminum_flat_bottom_plate/1.json +41 -0
- package/labware/definitions/2/opentrons_calibration_adapter_heatershaker_module/1.json +62 -0
- package/labware/definitions/2/opentrons_calibration_adapter_temperature_module/1.json +62 -0
- package/labware/definitions/2/opentrons_calibration_adapter_thermocycler_module/1.json +69 -0
- package/labware/definitions/2/opentrons_calibrationblock_short_side_left/1.json +71 -0
- package/labware/definitions/2/opentrons_calibrationblock_short_side_right/1.json +71 -0
- package/labware/definitions/2/opentrons_flex_96_filtertiprack_1000ul/1.json +1026 -0
- package/labware/definitions/2/opentrons_flex_96_filtertiprack_200ul/1.json +1026 -0
- package/labware/definitions/2/opentrons_flex_96_filtertiprack_50ul/1.json +1026 -0
- package/labware/definitions/2/opentrons_flex_96_tiprack_1000ul/1.json +1026 -0
- package/labware/definitions/2/opentrons_flex_96_tiprack_200ul/1.json +1026 -0
- package/labware/definitions/2/opentrons_flex_96_tiprack_50ul/1.json +1026 -0
- package/labware/definitions/2/opentrons_flex_96_tiprack_adapter/1.json +41 -0
- package/labware/definitions/2/opentrons_universal_flat_adapter/1.json +151 -0
- package/labware/definitions/2/opentrons_universal_flat_adapter_corning_384_wellplate_112ul_flat/1.json +4710 -0
- package/labware/definitions/2/thermoscientificnunc_96_wellplate_1300ul/1.json +1019 -0
- package/labware/definitions/2/thermoscientificnunc_96_wellplate_2000ul/1.json +1019 -0
- package/labware/definitions/2/tipone_96_tiprack_200ul/1.json +1017 -0
- package/labware/definitions/2/usascientific_12_reservoir_22ml/1.json +192 -0
- package/labware/definitions/2/usascientific_96_wellplate_2.4ml_deep/1.json +1116 -0
- package/labware/fixtures/2/fixture_12_trough.json +188 -0
- package/labware/fixtures/2/fixture_12_trough_v2.json +188 -0
- package/labware/fixtures/2/fixture_24_tuberack.json +295 -0
- package/labware/fixtures/2/fixture_384_plate.json +4316 -0
- package/labware/fixtures/2/fixture_96_plate.json +1015 -0
- package/labware/fixtures/2/fixture_flex_96_tiprack_1000ul.json +1026 -0
- package/labware/fixtures/2/fixture_flex_96_tiprack_adapter.json +41 -0
- package/labware/fixtures/2/fixture_irregular_example_1.json +600 -0
- package/labware/fixtures/2/fixture_overlappy_wellplate.json +1113 -0
- package/labware/fixtures/2/fixture_regular_example_1.json +57 -0
- package/labware/fixtures/2/fixture_regular_example_2.json +95 -0
- package/labware/fixtures/2/fixture_tiprack_1000_ul.json +1015 -0
- package/labware/fixtures/2/fixture_tiprack_10_ul.json +1015 -0
- package/labware/fixtures/2/fixture_tiprack_300_ul.json +1014 -0
- package/labware/fixtures/2/fixture_trash.json +50 -0
- package/labware/schemas/2.json +372 -0
- package/liquid/schemas/1.json +21 -0
- package/liquid/types/index.ts +5 -0
- package/module/definitions/1.json +57 -0
- package/module/definitions/2/magneticModuleV1.json +22 -0
- package/module/definitions/2/magneticModuleV2.json +69 -0
- package/module/definitions/2/temperatureModuleV1.json +22 -0
- package/module/definitions/2/temperatureModuleV2.json +69 -0
- package/module/definitions/2/thermocyclerModuleV1.json +23 -0
- package/module/definitions/3/heaterShakerModuleV1.json +521 -0
- package/module/definitions/3/magneticBlockV1.json +199 -0
- package/module/definitions/3/magneticModuleV1.json +435 -0
- package/module/definitions/3/magneticModuleV2.json +488 -0
- package/module/definitions/3/temperatureModuleV1.json +190 -0
- package/module/definitions/3/temperatureModuleV2.json +315 -0
- package/module/definitions/3/thermocyclerModuleV1.json +1380 -0
- package/module/definitions/3/thermocyclerModuleV2.json +3686 -0
- package/module/fixtures/3/compatibleGenerationV1.json +69 -0
- package/module/fixtures/3/compatibleGenerationV2.json +69 -0
- package/module/fixtures/3/incompatibleGenerationV1.json +22 -0
- package/module/fixtures/3/incompatibleGenerationV2.json +69 -0
- package/module/schemas/1.json +55 -0
- package/module/schemas/2.json +112 -0
- package/module/schemas/3.json +206 -0
- package/package.json +20 -0
- package/pipette/README.md +50 -0
- package/pipette/definitions/1/pipetteModelSpecs.json +10214 -0
- package/pipette/definitions/1/pipetteNameSpecs.json +679 -0
- package/pipette/definitions/2/general/eight_channel/p10/1_0.json +59 -0
- package/pipette/definitions/2/general/eight_channel/p10/1_3.json +59 -0
- package/pipette/definitions/2/general/eight_channel/p10/1_4.json +59 -0
- package/pipette/definitions/2/general/eight_channel/p10/1_5.json +59 -0
- package/pipette/definitions/2/general/eight_channel/p10/1_6.json +59 -0
- package/pipette/definitions/2/general/eight_channel/p1000/1_0.json +68 -0
- package/pipette/definitions/2/general/eight_channel/p1000/3_0.json +68 -0
- package/pipette/definitions/2/general/eight_channel/p1000/3_3.json +68 -0
- package/pipette/definitions/2/general/eight_channel/p1000/3_4.json +68 -0
- package/pipette/definitions/2/general/eight_channel/p1000/3_5.json +68 -0
- package/pipette/definitions/2/general/eight_channel/p20/2_0.json +59 -0
- package/pipette/definitions/2/general/eight_channel/p20/2_1.json +59 -0
- package/pipette/definitions/2/general/eight_channel/p300/1_0.json +59 -0
- package/pipette/definitions/2/general/eight_channel/p300/1_3.json +59 -0
- package/pipette/definitions/2/general/eight_channel/p300/1_4.json +59 -0
- package/pipette/definitions/2/general/eight_channel/p300/1_5.json +59 -0
- package/pipette/definitions/2/general/eight_channel/p300/2_0.json +59 -0
- package/pipette/definitions/2/general/eight_channel/p300/2_1.json +59 -0
- package/pipette/definitions/2/general/eight_channel/p50/1_0.json +59 -0
- package/pipette/definitions/2/general/eight_channel/p50/1_3.json +59 -0
- package/pipette/definitions/2/general/eight_channel/p50/1_4.json +59 -0
- package/pipette/definitions/2/general/eight_channel/p50/1_5.json +59 -0
- package/pipette/definitions/2/general/eight_channel/p50/3_0.json +74 -0
- package/pipette/definitions/2/general/eight_channel/p50/3_3.json +74 -0
- package/pipette/definitions/2/general/eight_channel/p50/3_4.json +74 -0
- package/pipette/definitions/2/general/eight_channel/p50/3_5.json +74 -0
- package/pipette/definitions/2/general/ninety_six_channel/p1000/1_0.json +87 -0
- package/pipette/definitions/2/general/ninety_six_channel/p1000/3_0.json +92 -0
- package/pipette/definitions/2/general/ninety_six_channel/p1000/3_3.json +87 -0
- package/pipette/definitions/2/general/ninety_six_channel/p1000/3_4.json +88 -0
- package/pipette/definitions/2/general/ninety_six_channel/p1000/3_5.json +87 -0
- package/pipette/definitions/2/general/single_channel/p10/1_0.json +52 -0
- package/pipette/definitions/2/general/single_channel/p10/1_3.json +52 -0
- package/pipette/definitions/2/general/single_channel/p10/1_4.json +52 -0
- package/pipette/definitions/2/general/single_channel/p10/1_5.json +52 -0
- package/pipette/definitions/2/general/single_channel/p1000/1_0.json +52 -0
- package/pipette/definitions/2/general/single_channel/p1000/1_3.json +52 -0
- package/pipette/definitions/2/general/single_channel/p1000/1_4.json +52 -0
- package/pipette/definitions/2/general/single_channel/p1000/1_5.json +52 -0
- package/pipette/definitions/2/general/single_channel/p1000/2_0.json +52 -0
- package/pipette/definitions/2/general/single_channel/p1000/2_1.json +52 -0
- package/pipette/definitions/2/general/single_channel/p1000/2_2.json +52 -0
- package/pipette/definitions/2/general/single_channel/p1000/3_0.json +61 -0
- package/pipette/definitions/2/general/single_channel/p1000/3_3.json +61 -0
- package/pipette/definitions/2/general/single_channel/p1000/3_4.json +61 -0
- package/pipette/definitions/2/general/single_channel/p1000/3_5.json +61 -0
- package/pipette/definitions/2/general/single_channel/p20/2_0.json +52 -0
- package/pipette/definitions/2/general/single_channel/p20/2_1.json +52 -0
- package/pipette/definitions/2/general/single_channel/p20/2_2.json +52 -0
- package/pipette/definitions/2/general/single_channel/p300/1_0.json +52 -0
- package/pipette/definitions/2/general/single_channel/p300/1_3.json +52 -0
- package/pipette/definitions/2/general/single_channel/p300/1_4.json +52 -0
- package/pipette/definitions/2/general/single_channel/p300/1_5.json +52 -0
- package/pipette/definitions/2/general/single_channel/p300/2_0.json +52 -0
- package/pipette/definitions/2/general/single_channel/p300/2_1.json +52 -0
- package/pipette/definitions/2/general/single_channel/p50/1_0.json +52 -0
- package/pipette/definitions/2/general/single_channel/p50/1_3.json +52 -0
- package/pipette/definitions/2/general/single_channel/p50/1_4.json +52 -0
- package/pipette/definitions/2/general/single_channel/p50/1_5.json +52 -0
- package/pipette/definitions/2/general/single_channel/p50/3_0.json +67 -0
- package/pipette/definitions/2/general/single_channel/p50/3_3.json +67 -0
- package/pipette/definitions/2/general/single_channel/p50/3_4.json +67 -0
- package/pipette/definitions/2/general/single_channel/p50/3_5.json +67 -0
- package/pipette/definitions/2/geometry/eight_channel/p10/1_0.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p10/1_3.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p10/1_4.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p10/1_5.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p10/1_6.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p10/placeholder.gltf +0 -0
- package/pipette/definitions/2/geometry/eight_channel/p1000/1_0.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p1000/3_0.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p1000/3_3.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p1000/3_4.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p1000/3_5.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p1000/placeholder.gltf +0 -0
- package/pipette/definitions/2/geometry/eight_channel/p20/2_0.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p20/2_1.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p20/placeholder.gltf +0 -0
- package/pipette/definitions/2/geometry/eight_channel/p300/1_0.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p300/1_3.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p300/1_4.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p300/1_5.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p300/2_0.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p300/2_1.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p300/placeholder.gltf +0 -0
- package/pipette/definitions/2/geometry/eight_channel/p50/1_0.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p50/1_3.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p50/1_4.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p50/1_5.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p50/3_0.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p50/3_3.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p50/3_4.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p50/3_5.json +37 -0
- package/pipette/definitions/2/geometry/eight_channel/p50/placeholder.gltf +0 -0
- package/pipette/definitions/2/geometry/ninety_six_channel/p1000/1_0.json +291 -0
- package/pipette/definitions/2/geometry/ninety_six_channel/p1000/3_0.json +291 -0
- package/pipette/definitions/2/geometry/ninety_six_channel/p1000/3_3.json +291 -0
- package/pipette/definitions/2/geometry/ninety_six_channel/p1000/3_4.json +291 -0
- package/pipette/definitions/2/geometry/ninety_six_channel/p1000/3_5.json +291 -0
- package/pipette/definitions/2/geometry/ninety_six_channel/p1000/placeholder.gltf +0 -0
- package/pipette/definitions/2/geometry/single_channel/p10/1_0.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p10/1_3.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p10/1_4.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p10/1_5.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p10/placeholder.gltf +0 -0
- package/pipette/definitions/2/geometry/single_channel/p1000/1_0.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p1000/1_3.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p1000/1_4.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p1000/1_5.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p1000/2_0.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p1000/2_1.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p1000/2_2.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p1000/3_0.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p1000/3_3.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p1000/3_4.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p1000/3_5.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p1000/placeholder.gltf +0 -0
- package/pipette/definitions/2/geometry/single_channel/p20/2_0.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p20/2_1.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p20/2_2.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p20/placeholder.gltf +0 -0
- package/pipette/definitions/2/geometry/single_channel/p300/1_0.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p300/1_3.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p300/1_4.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p300/1_5.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p300/2_0.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p300/2_1.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p300/placeholder.gltf +0 -0
- package/pipette/definitions/2/geometry/single_channel/p50/1_0.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p50/1_3.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p50/1_4.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p50/1_5.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p50/3_0.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p50/3_3.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p50/3_4.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p50/3_5.json +10 -0
- package/pipette/definitions/2/geometry/single_channel/p50/placeholder.gltf +0 -0
- package/pipette/definitions/2/liquid/eight_channel/p10/default/1_0.json +58 -0
- package/pipette/definitions/2/liquid/eight_channel/p10/default/1_3.json +58 -0
- package/pipette/definitions/2/liquid/eight_channel/p10/default/1_4.json +58 -0
- package/pipette/definitions/2/liquid/eight_channel/p10/default/1_5.json +47 -0
- package/pipette/definitions/2/liquid/eight_channel/p10/default/1_6.json +55 -0
- package/pipette/definitions/2/liquid/eight_channel/p1000/default/1_0.json +356 -0
- package/pipette/definitions/2/liquid/eight_channel/p1000/default/3_0.json +359 -0
- package/pipette/definitions/2/liquid/eight_channel/p1000/default/3_3.json +359 -0
- package/pipette/definitions/2/liquid/eight_channel/p1000/default/3_4.json +359 -0
- package/pipette/definitions/2/liquid/eight_channel/p1000/default/3_5.json +239 -0
- package/pipette/definitions/2/liquid/eight_channel/p20/default/2_0.json +311 -0
- package/pipette/definitions/2/liquid/eight_channel/p20/default/2_1.json +191 -0
- package/pipette/definitions/2/liquid/eight_channel/p300/default/1_0.json +67 -0
- package/pipette/definitions/2/liquid/eight_channel/p300/default/1_3.json +67 -0
- package/pipette/definitions/2/liquid/eight_channel/p300/default/1_4.json +67 -0
- package/pipette/definitions/2/liquid/eight_channel/p300/default/1_5.json +67 -0
- package/pipette/definitions/2/liquid/eight_channel/p300/default/2_0.json +190 -0
- package/pipette/definitions/2/liquid/eight_channel/p300/default/2_1.json +190 -0
- package/pipette/definitions/2/liquid/eight_channel/p50/default/1_0.json +128 -0
- package/pipette/definitions/2/liquid/eight_channel/p50/default/1_3.json +128 -0
- package/pipette/definitions/2/liquid/eight_channel/p50/default/1_4.json +128 -0
- package/pipette/definitions/2/liquid/eight_channel/p50/default/1_5.json +110 -0
- package/pipette/definitions/2/liquid/eight_channel/p50/default/3_0.json +99 -0
- package/pipette/definitions/2/liquid/eight_channel/p50/default/3_3.json +99 -0
- package/pipette/definitions/2/liquid/eight_channel/p50/default/3_4.json +99 -0
- package/pipette/definitions/2/liquid/eight_channel/p50/default/3_5.json +91 -0
- package/pipette/definitions/2/liquid/eight_channel/p50/lowVolumeDefault/3_0.json +94 -0
- package/pipette/definitions/2/liquid/eight_channel/p50/lowVolumeDefault/3_3.json +89 -0
- package/pipette/definitions/2/liquid/eight_channel/p50/lowVolumeDefault/3_4.json +89 -0
- package/pipette/definitions/2/liquid/eight_channel/p50/lowVolumeDefault/3_5.json +89 -0
- package/pipette/definitions/2/liquid/ninety_six_channel/p1000/default/1_0.json +188 -0
- package/pipette/definitions/2/liquid/ninety_six_channel/p1000/default/3_0.json +188 -0
- package/pipette/definitions/2/liquid/ninety_six_channel/p1000/default/3_3.json +188 -0
- package/pipette/definitions/2/liquid/ninety_six_channel/p1000/default/3_4.json +188 -0
- package/pipette/definitions/2/liquid/ninety_six_channel/p1000/default/3_5.json +188 -0
- package/pipette/definitions/2/liquid/single_channel/p10/default/1_0.json +59 -0
- package/pipette/definitions/2/liquid/single_channel/p10/default/1_3.json +59 -0
- package/pipette/definitions/2/liquid/single_channel/p10/default/1_4.json +56 -0
- package/pipette/definitions/2/liquid/single_channel/p10/default/1_5.json +54 -0
- package/pipette/definitions/2/liquid/single_channel/p1000/default/1_0.json +48 -0
- package/pipette/definitions/2/liquid/single_channel/p1000/default/1_3.json +48 -0
- package/pipette/definitions/2/liquid/single_channel/p1000/default/1_4.json +48 -0
- package/pipette/definitions/2/liquid/single_channel/p1000/default/1_5.json +48 -0
- package/pipette/definitions/2/liquid/single_channel/p1000/default/2_0.json +105 -0
- package/pipette/definitions/2/liquid/single_channel/p1000/default/2_1.json +107 -0
- package/pipette/definitions/2/liquid/single_channel/p1000/default/2_2.json +107 -0
- package/pipette/definitions/2/liquid/single_channel/p1000/default/3_0.json +356 -0
- package/pipette/definitions/2/liquid/single_channel/p1000/default/3_3.json +356 -0
- package/pipette/definitions/2/liquid/single_channel/p1000/default/3_4.json +282 -0
- package/pipette/definitions/2/liquid/single_channel/p1000/default/3_5.json +204 -0
- package/pipette/definitions/2/liquid/single_channel/p20/default/2_0.json +431 -0
- package/pipette/definitions/2/liquid/single_channel/p20/default/2_1.json +251 -0
- package/pipette/definitions/2/liquid/single_channel/p20/default/2_2.json +311 -0
- package/pipette/definitions/2/liquid/single_channel/p300/default/1_0.json +99 -0
- package/pipette/definitions/2/liquid/single_channel/p300/default/1_3.json +99 -0
- package/pipette/definitions/2/liquid/single_channel/p300/default/1_4.json +99 -0
- package/pipette/definitions/2/liquid/single_channel/p300/default/1_5.json +75 -0
- package/pipette/definitions/2/liquid/single_channel/p300/default/2_0.json +188 -0
- package/pipette/definitions/2/liquid/single_channel/p300/default/2_1.json +188 -0
- package/pipette/definitions/2/liquid/single_channel/p50/default/1_0.json +119 -0
- package/pipette/definitions/2/liquid/single_channel/p50/default/1_3.json +128 -0
- package/pipette/definitions/2/liquid/single_channel/p50/default/1_4.json +128 -0
- package/pipette/definitions/2/liquid/single_channel/p50/default/1_5.json +104 -0
- package/pipette/definitions/2/liquid/single_channel/p50/default/3_0.json +98 -0
- package/pipette/definitions/2/liquid/single_channel/p50/default/3_3.json +98 -0
- package/pipette/definitions/2/liquid/single_channel/p50/default/3_4.json +100 -0
- package/pipette/definitions/2/liquid/single_channel/p50/default/3_5.json +80 -0
- package/pipette/definitions/2/liquid/single_channel/p50/lowVolumeDefault/3_0.json +78 -0
- package/pipette/definitions/2/liquid/single_channel/p50/lowVolumeDefault/3_3.json +78 -0
- package/pipette/definitions/2/liquid/single_channel/p50/lowVolumeDefault/3_4.json +78 -0
- package/pipette/definitions/2/liquid/single_channel/p50/lowVolumeDefault/3_5.json +76 -0
- package/pipette/fixtures/name/index.ts +19 -0
- package/pipette/fixtures/name/pipetteNameSpecFixtures.json +130 -0
- package/pipette/schemas/1/pipetteModelSpecsSchema.json +155 -0
- package/pipette/schemas/1/pipetteNameSpecsSchema.json +91 -0
- package/pipette/schemas/2/pipetteGeometrySchema.json +81 -0
- package/pipette/schemas/2/pipetteLiquidPropertiesSchema.json +120 -0
- package/pipette/schemas/2/pipettePropertiesSchema.json +287 -0
- package/protocol/README.md +12 -0
- package/protocol/fixtures/1/simple.json +73 -0
- package/protocol/fixtures/3/simple.json +1307 -0
- package/protocol/fixtures/3/testAllAtomicSingleV3.json +2281 -0
- package/protocol/fixtures/3/testTrickyLabwareV3.json +2577 -0
- package/protocol/fixtures/3/unusedPipette.json +1311 -0
- package/protocol/fixtures/4/pipetteMultiChannelProtocolV4.json +2561 -0
- package/protocol/fixtures/4/simpleV4.json +1309 -0
- package/protocol/fixtures/4/testMagneticModuleV4.json +2156 -0
- package/protocol/fixtures/4/testModulesProtocol.json +2561 -0
- package/protocol/fixtures/4/testTemperatureModuleV4.json +1480 -0
- package/protocol/fixtures/4/testThermocyclerModuleV4.json +2182 -0
- package/protocol/fixtures/4/transferSettings.json +5482 -0
- package/protocol/fixtures/5/multipleTipracks.json +2476 -0
- package/protocol/fixtures/5/multipleTipracksWithTC.json +3544 -0
- package/protocol/fixtures/5/simpleV5.json +1328 -0
- package/protocol/fixtures/6/heaterShakerCommands.json +1422 -0
- package/protocol/fixtures/6/heaterShakerCommandsWithResultsKey.json +4725 -0
- package/protocol/fixtures/6/multipleTempModules.json +11060 -0
- package/protocol/fixtures/6/multipleTipracks.json +5020 -0
- package/protocol/fixtures/6/multipleTipracksWithTC.json +7057 -0
- package/protocol/fixtures/6/oneTiprack.json +1388 -0
- package/protocol/fixtures/6/simpleV6.json +1494 -0
- package/protocol/fixtures/6/tempAndMagModuleCommands.json +1413 -0
- package/protocol/fixtures/6/transferSettings.json +11060 -0
- package/protocol/fixtures/7/moveLabware.json +1303 -0
- package/protocol/fixtures/7/simpleV7.json +1496 -0
- package/protocol/fixtures/8/moveLabware8.json +1309 -0
- package/protocol/fixtures/8/moveLabwareFlex8.json +1309 -0
- package/protocol/fixtures/8/simpleFlexV8.json +1475 -0
- package/protocol/fixtures/8/simpleV8.json +1473 -0
- package/protocol/index.ts +32 -0
- package/protocol/schemas/1.json +389 -0
- package/protocol/schemas/2.json +416 -0
- package/protocol/schemas/3.json +360 -0
- package/protocol/schemas/4.json +662 -0
- package/protocol/schemas/5.json +701 -0
- package/protocol/schemas/6.json +1225 -0
- package/protocol/schemas/7.json +290 -0
- package/protocol/schemas/8.json +157 -0
- package/protocol/types/schemaV1.ts +108 -0
- package/protocol/types/schemaV3.ts +131 -0
- package/protocol/types/schemaV4.ts +146 -0
- package/protocol/types/schemaV5.ts +34 -0
- package/protocol/types/schemaV5Addendum.ts +27 -0
- package/protocol/types/schemaV6/command/gantry.ts +146 -0
- package/protocol/types/schemaV6/command/index.ts +65 -0
- package/protocol/types/schemaV6/command/module.ts +302 -0
- package/protocol/types/schemaV6/command/pipetting.ts +114 -0
- package/protocol/types/schemaV6/command/setup.ts +127 -0
- package/protocol/types/schemaV6/command/timing.ts +58 -0
- package/protocol/types/schemaV6/index.ts +122 -0
- package/protocol/types/schemaV7/command/annotation.ts +37 -0
- package/protocol/types/schemaV7/command/calibration.ts +84 -0
- package/protocol/types/schemaV7/command/gantry.ts +154 -0
- package/protocol/types/schemaV7/command/incidental.ts +21 -0
- package/protocol/types/schemaV7/command/index.ts +76 -0
- package/protocol/types/schemaV7/command/module.ts +307 -0
- package/protocol/types/schemaV7/command/pipetting.ts +173 -0
- package/protocol/types/schemaV7/command/setup.ts +158 -0
- package/protocol/types/schemaV7/command/timing.ts +58 -0
- package/protocol/types/schemaV7/index.ts +98 -0
- package/protocol/types/schemaV8/index.ts +160 -0
- package/python/.coveragerc +4 -0
- package/python/.flake8 +32 -0
- package/python/Config.in +10 -0
- package/python/Makefile +134 -0
- package/python/Pipfile +28 -0
- package/python/Pipfile.lock +645 -0
- package/python/buildroot.mk +30 -0
- package/python/mypy.ini +41 -0
- package/python/opentrons_shared_data/__init__.py +17 -0
- package/python/opentrons_shared_data/_version.py +20 -0
- package/python/opentrons_shared_data/command/__init__.py +52 -0
- package/python/opentrons_shared_data/deck/__init__.py +96 -0
- package/python/opentrons_shared_data/deck/dev_types.py +180 -0
- package/python/opentrons_shared_data/errors/__init__.py +30 -0
- package/python/opentrons_shared_data/errors/categories.py +60 -0
- package/python/opentrons_shared_data/errors/codes.py +108 -0
- package/python/opentrons_shared_data/errors/exceptions.py +915 -0
- package/python/opentrons_shared_data/gripper/__init__.py +63 -0
- package/python/opentrons_shared_data/gripper/constants.py +5 -0
- package/python/opentrons_shared_data/gripper/gripper_definition.py +101 -0
- package/python/opentrons_shared_data/labware/__init__.py +22 -0
- package/python/opentrons_shared_data/labware/constants.py +7 -0
- package/python/opentrons_shared_data/labware/dev_types.py +140 -0
- package/python/opentrons_shared_data/labware/labware_definition.py +328 -0
- package/python/opentrons_shared_data/load.py +57 -0
- package/python/opentrons_shared_data/module/__init__.py +74 -0
- package/python/opentrons_shared_data/module/dev_types.py +141 -0
- package/python/opentrons_shared_data/pipette/__init__.py +107 -0
- package/python/opentrons_shared_data/pipette/dev_types.py +177 -0
- package/python/opentrons_shared_data/pipette/file_operation_helpers.py +37 -0
- package/python/opentrons_shared_data/pipette/load_data.py +261 -0
- package/python/opentrons_shared_data/pipette/model_constants.py +123 -0
- package/python/opentrons_shared_data/pipette/mutable_configurations.py +431 -0
- package/python/opentrons_shared_data/pipette/pipette_definition.py +503 -0
- package/python/opentrons_shared_data/pipette/pipette_load_name_conversions.py +236 -0
- package/python/opentrons_shared_data/pipette/scripts/__init__.py +0 -0
- package/python/opentrons_shared_data/pipette/scripts/build_json_script.py +469 -0
- package/python/opentrons_shared_data/pipette/scripts/update_configuration_files.py +450 -0
- package/python/opentrons_shared_data/pipette/types.py +193 -0
- package/python/opentrons_shared_data/protocol/__init__.py +13 -0
- package/python/opentrons_shared_data/protocol/constants.py +98 -0
- package/python/opentrons_shared_data/protocol/dev_types.py +436 -0
- package/python/opentrons_shared_data/protocol/models/__init__.py +48 -0
- package/python/opentrons_shared_data/protocol/models/protocol_schema_v6.py +145 -0
- package/python/opentrons_shared_data/protocol/models/protocol_schema_v7.py +95 -0
- package/python/opentrons_shared_data/protocol/models/protocol_schema_v8.py +108 -0
- package/python/opentrons_shared_data/protocol/models/shared_models.py +105 -0
- package/python/opentrons_shared_data/py.typed +0 -0
- package/python/opentrons_shared_data/robot/__init__.py +25 -0
- package/python/opentrons_shared_data/robot/dev_types.py +37 -0
- package/python/pytest.ini +2 -0
- package/python/setup.cfg +5 -0
- package/python/setup.py +179 -0
- package/python/tests/__init__.py +1 -0
- package/python/tests/conftest.py +0 -0
- package/python/tests/deck/__init__.py +0 -0
- package/python/tests/deck/test_list_names.py +12 -0
- package/python/tests/deck/test_position.py +113 -0
- package/python/tests/deck/test_typechecks.py +28 -0
- package/python/tests/errors/__init__.py +1 -0
- package/python/tests/errors/test_error_completeness.py +19 -0
- package/python/tests/errors/test_exceptions.py +74 -0
- package/python/tests/gripper/__init__.py +0 -0
- package/python/tests/gripper/test_definition.py +30 -0
- package/python/tests/gripper/test_load.py +16 -0
- package/python/tests/labware/__init__.py +13 -0
- package/python/tests/labware/test_typechecks.py +21 -0
- package/python/tests/module/__init__.py +20 -0
- package/python/tests/module/test_load.py +49 -0
- package/python/tests/module/test_typechecks.py +34 -0
- package/python/tests/pipette/__init__.py +0 -0
- package/python/tests/pipette/test_load_data.py +103 -0
- package/python/tests/pipette/test_mutable_configurations.py +266 -0
- package/python/tests/pipette/test_pipette_definition.py +183 -0
- package/python/tests/pipette/test_pipette_load_name_conversions.py +222 -0
- package/python/tests/pipette/test_typechecks.py +50 -0
- package/python/tests/pipette/test_validate_schema.py +37 -0
- package/python/tests/protocol/__init__.py +15 -0
- package/python/tests/protocol/test_protocol_schema_v6.py +107 -0
- package/python/tests/protocol/test_protocol_schema_v7.py +34 -0
- package/python/tests/protocol/test_protocol_schema_v8.py +20 -0
- package/python/tests/protocol/test_typechecks.py +36 -0
- package/python/tests/robot/__init__.py +0 -0
- package/python/tests/robot/test_typechecks.py +20 -0
- package/robot/definitions/1/ot2.json +5 -0
- package/robot/definitions/1/ot3.json +5 -0
- package/robot/schemas/1.json +30 -0
- package/tsconfig-data.json +24 -0
- package/tsconfig.json +17 -0
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.'
|
|
2
|
+
export type PipettingRunTimeCommand =
|
|
3
|
+
| AspirateInPlaceRunTimeCommand
|
|
4
|
+
| AspirateRunTimeCommand
|
|
5
|
+
| AspirateInPlaceRunTimeCommand
|
|
6
|
+
| BlowoutInPlaceRunTimeCommand
|
|
7
|
+
| BlowoutRunTimeCommand
|
|
8
|
+
| ConfigureForVolumeRunTimeCommand
|
|
9
|
+
| DispenseInPlaceRunTimeCommand
|
|
10
|
+
| DispenseRunTimeCommand
|
|
11
|
+
| DropTipInPlaceRunTimeCommand
|
|
12
|
+
| DropTipRunTimeCommand
|
|
13
|
+
| PickUpTipRunTimeCommand
|
|
14
|
+
| PrepareToAspirateRunTimeCommand
|
|
15
|
+
| TouchTipRunTimeCommand
|
|
16
|
+
|
|
17
|
+
export type PipettingCreateCommand =
|
|
18
|
+
| AspirateCreateCommand
|
|
19
|
+
| AspirateInPlaceCreateCommand
|
|
20
|
+
| BlowoutCreateCommand
|
|
21
|
+
| BlowoutInPlaceCreateCommand
|
|
22
|
+
| ConfigureForVolumeCreateCommand
|
|
23
|
+
| DispenseCreateCommand
|
|
24
|
+
| DispenseInPlaceCreateCommand
|
|
25
|
+
| DropTipCreateCommand
|
|
26
|
+
| DropTipInPlaceCreateCommand
|
|
27
|
+
| PickUpTipCreateCommand
|
|
28
|
+
| PrepareToAspirateCreateCommand
|
|
29
|
+
| TouchTipCreateCommand
|
|
30
|
+
|
|
31
|
+
export interface ConfigureForVolumeCreateCommand
|
|
32
|
+
extends CommonCommandCreateInfo {
|
|
33
|
+
commandType: 'configureForVolume'
|
|
34
|
+
params: ConfigureForVolumeParams
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface ConfigureForVolumeParams {
|
|
38
|
+
pipetteId: string
|
|
39
|
+
volume: number
|
|
40
|
+
}
|
|
41
|
+
export interface ConfigureForVolumeRunTimeCommand
|
|
42
|
+
extends CommonCommandRunTimeInfo,
|
|
43
|
+
ConfigureForVolumeCreateCommand {
|
|
44
|
+
result?: BasicLiquidHandlingResult
|
|
45
|
+
}
|
|
46
|
+
export interface AspirateCreateCommand extends CommonCommandCreateInfo {
|
|
47
|
+
commandType: 'aspirate'
|
|
48
|
+
params: AspDispAirgapParams
|
|
49
|
+
}
|
|
50
|
+
export interface AspirateRunTimeCommand
|
|
51
|
+
extends CommonCommandRunTimeInfo,
|
|
52
|
+
AspirateCreateCommand {
|
|
53
|
+
result?: BasicLiquidHandlingResult
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface AspirateInPlaceCreateCommand extends CommonCommandCreateInfo {
|
|
57
|
+
commandType: 'aspirateInPlace'
|
|
58
|
+
params: AspirateInPlaceParams
|
|
59
|
+
}
|
|
60
|
+
export interface AspirateInPlaceRunTimeCommand
|
|
61
|
+
extends CommonCommandRunTimeInfo,
|
|
62
|
+
AspirateInPlaceCreateCommand {
|
|
63
|
+
result?: BasicLiquidHandlingResult
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export type DispenseParams = AspDispAirgapParams & { pushOut?: number }
|
|
67
|
+
export interface DispenseCreateCommand extends CommonCommandCreateInfo {
|
|
68
|
+
commandType: 'dispense'
|
|
69
|
+
params: DispenseParams
|
|
70
|
+
}
|
|
71
|
+
export interface DispenseRunTimeCommand
|
|
72
|
+
extends CommonCommandRunTimeInfo,
|
|
73
|
+
DispenseCreateCommand {
|
|
74
|
+
result?: BasicLiquidHandlingResult
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export interface DispenseInPlaceCreateCommand extends CommonCommandCreateInfo {
|
|
78
|
+
commandType: 'dispenseInPlace'
|
|
79
|
+
params: DispenseInPlaceParams
|
|
80
|
+
}
|
|
81
|
+
export interface DispenseInPlaceRunTimeCommand
|
|
82
|
+
extends CommonCommandRunTimeInfo,
|
|
83
|
+
DispenseInPlaceCreateCommand {
|
|
84
|
+
result?: BasicLiquidHandlingResult
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export interface BlowoutCreateCommand extends CommonCommandCreateInfo {
|
|
88
|
+
commandType: 'blowout'
|
|
89
|
+
params: BlowoutParams
|
|
90
|
+
}
|
|
91
|
+
export interface BlowoutRunTimeCommand
|
|
92
|
+
extends CommonCommandRunTimeInfo,
|
|
93
|
+
BlowoutCreateCommand {
|
|
94
|
+
result?: BasicLiquidHandlingResult
|
|
95
|
+
}
|
|
96
|
+
export interface BlowoutInPlaceCreateCommand extends CommonCommandCreateInfo {
|
|
97
|
+
commandType: 'blowOutInPlace'
|
|
98
|
+
params: BlowoutInPlaceParams
|
|
99
|
+
}
|
|
100
|
+
export interface BlowoutInPlaceRunTimeCommand
|
|
101
|
+
extends CommonCommandRunTimeInfo,
|
|
102
|
+
BlowoutInPlaceCreateCommand {
|
|
103
|
+
result?: BasicLiquidHandlingResult
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export interface TouchTipCreateCommand extends CommonCommandCreateInfo {
|
|
107
|
+
commandType: 'touchTip'
|
|
108
|
+
params: TouchTipParams
|
|
109
|
+
}
|
|
110
|
+
export interface TouchTipRunTimeCommand
|
|
111
|
+
extends CommonCommandRunTimeInfo,
|
|
112
|
+
TouchTipCreateCommand {
|
|
113
|
+
result?: BasicLiquidHandlingResult
|
|
114
|
+
}
|
|
115
|
+
export interface PickUpTipCreateCommand extends CommonCommandCreateInfo {
|
|
116
|
+
commandType: 'pickUpTip'
|
|
117
|
+
params: PickUpTipParams
|
|
118
|
+
}
|
|
119
|
+
export interface PickUpTipRunTimeCommand
|
|
120
|
+
extends CommonCommandRunTimeInfo,
|
|
121
|
+
PickUpTipCreateCommand {
|
|
122
|
+
result?: any
|
|
123
|
+
}
|
|
124
|
+
export interface DropTipCreateCommand extends CommonCommandCreateInfo {
|
|
125
|
+
commandType: 'dropTip'
|
|
126
|
+
params: DropTipParams
|
|
127
|
+
}
|
|
128
|
+
export interface DropTipRunTimeCommand
|
|
129
|
+
extends CommonCommandRunTimeInfo,
|
|
130
|
+
DropTipCreateCommand {
|
|
131
|
+
result?: any
|
|
132
|
+
}
|
|
133
|
+
export interface DropTipInPlaceCreateCommand extends CommonCommandCreateInfo {
|
|
134
|
+
commandType: 'dropTipInPlace'
|
|
135
|
+
params: DropTipInPlaceParams
|
|
136
|
+
}
|
|
137
|
+
export interface DropTipInPlaceRunTimeCommand
|
|
138
|
+
extends CommonCommandRunTimeInfo,
|
|
139
|
+
DropTipInPlaceCreateCommand {
|
|
140
|
+
result?: any
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export interface PrepareToAspirateCreateCommand
|
|
144
|
+
extends CommonCommandCreateInfo {
|
|
145
|
+
commandType: 'prepareToAspirate'
|
|
146
|
+
params: PipetteIdentityParams
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export interface PrepareToAspirateRunTimeCommand
|
|
150
|
+
extends CommonCommandRunTimeInfo,
|
|
151
|
+
PrepareToAspirateCreateCommand {
|
|
152
|
+
result?: any
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export type AspDispAirgapParams = FlowRateParams &
|
|
156
|
+
PipetteAccessParams &
|
|
157
|
+
VolumeParams &
|
|
158
|
+
WellLocationParam
|
|
159
|
+
export type BlowoutParams = FlowRateParams &
|
|
160
|
+
PipetteAccessParams &
|
|
161
|
+
WellLocationParam
|
|
162
|
+
export type TouchTipParams = PipetteAccessParams & WellLocationParam
|
|
163
|
+
export type DropTipParams = PipetteAccessParams & {
|
|
164
|
+
wellLocation?: {
|
|
165
|
+
origin?: 'default' | 'top' | 'center' | 'bottom'
|
|
166
|
+
offset?: {
|
|
167
|
+
// mm values all default to 0
|
|
168
|
+
x?: number
|
|
169
|
+
y?: number
|
|
170
|
+
z?: number
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
export type PickUpTipParams = TouchTipParams
|
|
175
|
+
export interface DropTipInPlaceParams {
|
|
176
|
+
pipetteId: string
|
|
177
|
+
}
|
|
178
|
+
export interface BlowoutInPlaceParams {
|
|
179
|
+
pipetteId: string
|
|
180
|
+
flowRate: number // µL/s
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export interface DispenseInPlaceParams {
|
|
184
|
+
pipetteId: string
|
|
185
|
+
volume: number
|
|
186
|
+
flowRate: number // µL/s
|
|
187
|
+
pushOut?: number
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export interface AspirateInPlaceParams {
|
|
191
|
+
pipetteId: string
|
|
192
|
+
volume: number
|
|
193
|
+
flowRate: number // µL/s
|
|
194
|
+
}
|
|
195
|
+
interface FlowRateParams {
|
|
196
|
+
flowRate: number // µL/s
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
interface PipetteIdentityParams {
|
|
200
|
+
pipetteId: string
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
interface PipetteAccessParams extends PipetteIdentityParams {
|
|
204
|
+
labwareId: string
|
|
205
|
+
wellName: string
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
interface VolumeParams {
|
|
209
|
+
volume: number // µL
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
interface WellLocationParam {
|
|
213
|
+
wellLocation?: {
|
|
214
|
+
// default value is 'top'
|
|
215
|
+
origin?: 'top' | 'center' | 'bottom'
|
|
216
|
+
offset?: {
|
|
217
|
+
// mm
|
|
218
|
+
// all values default to 0
|
|
219
|
+
x?: number
|
|
220
|
+
y?: number
|
|
221
|
+
z?: number
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
interface BasicLiquidHandlingResult {
|
|
227
|
+
volume: number // Amount of liquid in uL handled in the operation
|
|
228
|
+
}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
CommonCommandRunTimeInfo,
|
|
3
|
+
CommonCommandCreateInfo,
|
|
4
|
+
LabwareDefinition2,
|
|
5
|
+
LabwareOffset,
|
|
6
|
+
PipetteName,
|
|
7
|
+
ModuleModel,
|
|
8
|
+
Cutout,
|
|
9
|
+
} from '../../js'
|
|
10
|
+
|
|
11
|
+
export interface LoadPipetteCreateCommand extends CommonCommandCreateInfo {
|
|
12
|
+
commandType: 'loadPipette'
|
|
13
|
+
params: LoadPipetteParams
|
|
14
|
+
}
|
|
15
|
+
export interface LoadPipetteRunTimeCommand
|
|
16
|
+
extends CommonCommandRunTimeInfo,
|
|
17
|
+
Omit<LoadPipetteCreateCommand, 'params'> {
|
|
18
|
+
params: LoadPipetteParams & {
|
|
19
|
+
pipetteName: PipetteName
|
|
20
|
+
}
|
|
21
|
+
result?: LoadPipetteResult
|
|
22
|
+
}
|
|
23
|
+
export interface LoadLabwareCreateCommand extends CommonCommandCreateInfo {
|
|
24
|
+
commandType: 'loadLabware'
|
|
25
|
+
params: LoadLabwareParams
|
|
26
|
+
}
|
|
27
|
+
export interface LoadLabwareRunTimeCommand
|
|
28
|
+
extends CommonCommandRunTimeInfo,
|
|
29
|
+
LoadLabwareCreateCommand {
|
|
30
|
+
result?: LoadLabwareResult
|
|
31
|
+
}
|
|
32
|
+
export interface MoveLabwareCreateCommand extends CommonCommandCreateInfo {
|
|
33
|
+
commandType: 'moveLabware'
|
|
34
|
+
params: MoveLabwareParams
|
|
35
|
+
}
|
|
36
|
+
export interface MoveLabwareRunTimeCommand
|
|
37
|
+
extends CommonCommandRunTimeInfo,
|
|
38
|
+
MoveLabwareCreateCommand {
|
|
39
|
+
result?: MoveLabwareResult
|
|
40
|
+
}
|
|
41
|
+
export interface LoadModuleCreateCommand extends CommonCommandCreateInfo {
|
|
42
|
+
commandType: 'loadModule'
|
|
43
|
+
params: LoadModuleParams
|
|
44
|
+
}
|
|
45
|
+
export interface LoadModuleRunTimeCommand
|
|
46
|
+
extends CommonCommandRunTimeInfo,
|
|
47
|
+
Omit<LoadModuleCreateCommand, 'params'> {
|
|
48
|
+
params: LoadModuleParams & {
|
|
49
|
+
model: ModuleModel
|
|
50
|
+
}
|
|
51
|
+
result?: LoadModuleResult
|
|
52
|
+
}
|
|
53
|
+
export interface LoadLiquidCreateCommand extends CommonCommandCreateInfo {
|
|
54
|
+
commandType: 'loadLiquid'
|
|
55
|
+
params: LoadLiquidParams
|
|
56
|
+
}
|
|
57
|
+
export interface LoadLiquidRunTimeCommand
|
|
58
|
+
extends CommonCommandRunTimeInfo,
|
|
59
|
+
LoadLiquidCreateCommand {
|
|
60
|
+
result?: LoadLiquidResult
|
|
61
|
+
}
|
|
62
|
+
// TODO(jr, 10/31/23): update `loadFixture` to `loadAddressableArea`
|
|
63
|
+
export interface LoadFixtureCreateCommand extends CommonCommandCreateInfo {
|
|
64
|
+
commandType: 'loadFixture'
|
|
65
|
+
params: LoadFixtureParams
|
|
66
|
+
}
|
|
67
|
+
export interface LoadFixtureRunTimeCommand
|
|
68
|
+
extends CommonCommandRunTimeInfo,
|
|
69
|
+
LoadFixtureCreateCommand {
|
|
70
|
+
result?: LoadLabwareResult
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export interface ConfigureNozzleLayoutCreateCommand
|
|
74
|
+
extends CommonCommandCreateInfo {
|
|
75
|
+
commandType: 'configureNozzleLayout'
|
|
76
|
+
params: ConfigureNozzleLayoutParams
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export interface ConfigureNozzleLayoutRunTimeCommand
|
|
80
|
+
extends CommonCommandRunTimeInfo,
|
|
81
|
+
ConfigureNozzleLayoutCreateCommand {
|
|
82
|
+
result?: {}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export type SetupRunTimeCommand =
|
|
86
|
+
| ConfigureNozzleLayoutRunTimeCommand
|
|
87
|
+
| LoadPipetteRunTimeCommand
|
|
88
|
+
| LoadLabwareRunTimeCommand
|
|
89
|
+
| LoadFixtureRunTimeCommand
|
|
90
|
+
| LoadModuleRunTimeCommand
|
|
91
|
+
| LoadLiquidRunTimeCommand
|
|
92
|
+
| MoveLabwareRunTimeCommand
|
|
93
|
+
|
|
94
|
+
export type SetupCreateCommand =
|
|
95
|
+
| ConfigureNozzleLayoutCreateCommand
|
|
96
|
+
| LoadPipetteCreateCommand
|
|
97
|
+
| LoadLabwareCreateCommand
|
|
98
|
+
| LoadFixtureCreateCommand
|
|
99
|
+
| LoadModuleCreateCommand
|
|
100
|
+
| LoadLiquidCreateCommand
|
|
101
|
+
| MoveLabwareCreateCommand
|
|
102
|
+
|
|
103
|
+
export type LabwareLocation =
|
|
104
|
+
| 'offDeck'
|
|
105
|
+
| { slotName: string }
|
|
106
|
+
| { moduleId: string }
|
|
107
|
+
| { labwareId: string }
|
|
108
|
+
| { addressableAreaName: string }
|
|
109
|
+
|
|
110
|
+
export type NonStackedLocation =
|
|
111
|
+
| 'offDeck'
|
|
112
|
+
| { slotName: string }
|
|
113
|
+
| { moduleId: string }
|
|
114
|
+
| { addressableAreaName: string }
|
|
115
|
+
|
|
116
|
+
export interface ModuleLocation {
|
|
117
|
+
slotName: string
|
|
118
|
+
}
|
|
119
|
+
export interface LoadPipetteParams {
|
|
120
|
+
pipetteName: string
|
|
121
|
+
pipetteId: string
|
|
122
|
+
mount: 'left' | 'right'
|
|
123
|
+
}
|
|
124
|
+
interface LoadPipetteResult {
|
|
125
|
+
pipetteId: string
|
|
126
|
+
}
|
|
127
|
+
interface LoadLabwareParams {
|
|
128
|
+
location: LabwareLocation
|
|
129
|
+
version: number
|
|
130
|
+
namespace: string
|
|
131
|
+
loadName: string
|
|
132
|
+
displayName?: string
|
|
133
|
+
labwareId?: string
|
|
134
|
+
}
|
|
135
|
+
interface LoadLabwareResult {
|
|
136
|
+
labwareId: string
|
|
137
|
+
definition: LabwareDefinition2
|
|
138
|
+
offset: LabwareOffset
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export type LabwareMovementStrategy =
|
|
142
|
+
| 'usingGripper'
|
|
143
|
+
| 'manualMoveWithPause'
|
|
144
|
+
| 'manualMoveWithoutPause'
|
|
145
|
+
|
|
146
|
+
export interface MoveLabwareParams {
|
|
147
|
+
labwareId: string
|
|
148
|
+
newLocation: LabwareLocation
|
|
149
|
+
strategy: LabwareMovementStrategy
|
|
150
|
+
}
|
|
151
|
+
interface MoveLabwareResult {
|
|
152
|
+
offsetId: string
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
interface LoadModuleParams {
|
|
156
|
+
moduleId?: string
|
|
157
|
+
location: ModuleLocation
|
|
158
|
+
model: ModuleModel
|
|
159
|
+
}
|
|
160
|
+
interface LoadModuleResult {
|
|
161
|
+
moduleId: string
|
|
162
|
+
}
|
|
163
|
+
interface LoadLiquidParams {
|
|
164
|
+
liquidId: string
|
|
165
|
+
labwareId: string
|
|
166
|
+
volumeByWell: { [wellName: string]: number }
|
|
167
|
+
}
|
|
168
|
+
interface LoadLiquidResult {
|
|
169
|
+
liquidId: string
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
interface LoadFixtureParams {
|
|
173
|
+
location: { cutout: Cutout }
|
|
174
|
+
loadName: string
|
|
175
|
+
fixtureId?: string
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
const COLUMN = 'COLUMN'
|
|
179
|
+
const SINGLE = 'SINGLE'
|
|
180
|
+
const ROW = 'ROW'
|
|
181
|
+
const QUADRANT = 'QUADRANT'
|
|
182
|
+
const EMPTY = 'EMPTY'
|
|
183
|
+
|
|
184
|
+
export type NozzleConfigurationStyle =
|
|
185
|
+
| typeof COLUMN
|
|
186
|
+
| typeof SINGLE
|
|
187
|
+
| typeof ROW
|
|
188
|
+
| typeof QUADRANT
|
|
189
|
+
| typeof EMPTY
|
|
190
|
+
|
|
191
|
+
interface NozzleConfigurationParams {
|
|
192
|
+
primary_nozzle: string
|
|
193
|
+
style: NozzleConfigurationStyle
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
interface ConfigureNozzleLayoutParams {
|
|
197
|
+
pipetteId: string
|
|
198
|
+
configuration_params: NozzleConfigurationParams
|
|
199
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.'
|
|
2
|
+
|
|
3
|
+
export type TimingCreateCommand =
|
|
4
|
+
| WaitForResumeCreateCommand
|
|
5
|
+
| WaitForDurationCreateCommand
|
|
6
|
+
| DeprecatedDelayCreateCommand
|
|
7
|
+
|
|
8
|
+
export type TimingRunTimeCommand =
|
|
9
|
+
| WaitForResumeRunTimeCommand
|
|
10
|
+
| WaitForDurationRunTimeCommand
|
|
11
|
+
| DeprecatedDelayRunTimeCommand
|
|
12
|
+
|
|
13
|
+
export interface WaitForResumeCreateCommand extends CommonCommandCreateInfo {
|
|
14
|
+
// NOTE: `pause` accepted for backwards compatibility
|
|
15
|
+
commandType: 'waitForResume' | 'pause'
|
|
16
|
+
params: WaitForResumeParams
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface WaitForResumeRunTimeCommand
|
|
20
|
+
extends CommonCommandRunTimeInfo,
|
|
21
|
+
WaitForResumeCreateCommand {
|
|
22
|
+
result?: any
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
interface WaitForResumeParams {
|
|
26
|
+
message?: string
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface WaitForDurationCreateCommand extends CommonCommandCreateInfo {
|
|
30
|
+
commandType: 'waitForDuration'
|
|
31
|
+
params: WaitForDurationParams
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface WaitForDurationRunTimeCommand
|
|
35
|
+
extends CommonCommandRunTimeInfo,
|
|
36
|
+
WaitForDurationCreateCommand {
|
|
37
|
+
result?: any
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
interface WaitForDurationParams {
|
|
41
|
+
seconds: number
|
|
42
|
+
message?: string
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface DeprecatedDelayCreateCommand extends CommonCommandCreateInfo {
|
|
46
|
+
commandType: 'delay'
|
|
47
|
+
params: DeprecatedDelayParams
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export interface DeprecatedDelayRunTimeCommand
|
|
51
|
+
extends CommonCommandRunTimeInfo,
|
|
52
|
+
DeprecatedDelayCreateCommand {
|
|
53
|
+
result?: {}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
type DeprecatedDelayParams =
|
|
57
|
+
| { waitForResume: true; message?: string }
|
|
58
|
+
| { seconds: number; message?: string }
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "opentronsCommandAnnotationSchemaV1#",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$defs": {
|
|
5
|
+
"baseAnnotation": {
|
|
6
|
+
"description": "Things all annotations have",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": ["annotationType", "commandKeys"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"commandKeys": {
|
|
11
|
+
"type": "array",
|
|
12
|
+
"items": {
|
|
13
|
+
"description": "Command keys to which this annotation applies",
|
|
14
|
+
"type": "string"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"annotationType": {
|
|
18
|
+
"description": "The type of annotation (for machine parsing)",
|
|
19
|
+
"type": "string"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"secondOrderCommand": {
|
|
24
|
+
"description": "Annotates a group of atomic commands which were the direct result of a second order command (e.g. transfer, consolidate, mix)",
|
|
25
|
+
"allOf": [{ "$ref": "#/$defs/baseAnnotation" }],
|
|
26
|
+
"type": "object",
|
|
27
|
+
"required": [
|
|
28
|
+
"annotationType",
|
|
29
|
+
"commandKeys",
|
|
30
|
+
"params",
|
|
31
|
+
"machineReadableName"
|
|
32
|
+
],
|
|
33
|
+
"properties": {
|
|
34
|
+
"annotationType": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"enum": ["secondOrderCommand"]
|
|
37
|
+
},
|
|
38
|
+
"params": {
|
|
39
|
+
"description": "key value pairs of the parameters that were passed to the second order command that this annotates",
|
|
40
|
+
"type": "object"
|
|
41
|
+
},
|
|
42
|
+
"machineReadableName": {
|
|
43
|
+
"description": "The name of the second order command in the form that the generating software refers to it. (e.g. 'transfer', 'thermocyclerStep')",
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
46
|
+
"userSpecifiedName": {
|
|
47
|
+
"description": "The optional user-specified name of the second order command",
|
|
48
|
+
"type": "string"
|
|
49
|
+
},
|
|
50
|
+
"userSpecifiedDescription": {
|
|
51
|
+
"description": "The optional user-specified description of the second order command",
|
|
52
|
+
"type": "string"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"custom": {
|
|
57
|
+
"description": "Annotates a group of atomic commands in some manner that Opentrons software does not anticipate or originate",
|
|
58
|
+
"allOf": [{ "$ref": "#/$defs/baseAnnotation" }],
|
|
59
|
+
"type": "object",
|
|
60
|
+
"required": ["annotationType", "commandKeys"],
|
|
61
|
+
"properties": {
|
|
62
|
+
"annotationType": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"enum": ["custom"]
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"additionalProperties": true
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"oneOf": [
|
|
71
|
+
{ "$ref": "#/$defs/secondOrderCommand" },
|
|
72
|
+
{ "$ref": "#/$defs/custom" }
|
|
73
|
+
]
|
|
74
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
interface SharedCommandAnnotationProperties {
|
|
2
|
+
commandKeys: string[]
|
|
3
|
+
}
|
|
4
|
+
export type CustomCommandAnnotation = SharedCommandAnnotationProperties & {
|
|
5
|
+
[key: string]: any
|
|
6
|
+
} & {
|
|
7
|
+
annotationType: 'custom'
|
|
8
|
+
}
|
|
9
|
+
export interface SecondOrderCommandAnnotation
|
|
10
|
+
extends SharedCommandAnnotationProperties {
|
|
11
|
+
annotationType: 'secondOrderCommand'
|
|
12
|
+
machineReadableName: string
|
|
13
|
+
params: { [key: string]: any }
|
|
14
|
+
userSpecifiedName?: string
|
|
15
|
+
userSpecifiedDescription?: string
|
|
16
|
+
}
|
|
17
|
+
export type CommandAnnotation =
|
|
18
|
+
| SecondOrderCommandAnnotation
|
|
19
|
+
| CustomCommandAnnotation
|