@opentrons/shared-data 0.0.0-alpha.2
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
package/js/types.ts
ADDED
|
@@ -0,0 +1,600 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MAGDECK,
|
|
3
|
+
TEMPDECK,
|
|
4
|
+
THERMOCYCLER,
|
|
5
|
+
MAGNETIC_MODULE_V1,
|
|
6
|
+
MAGNETIC_MODULE_V2,
|
|
7
|
+
TEMPERATURE_MODULE_V1,
|
|
8
|
+
TEMPERATURE_MODULE_V2,
|
|
9
|
+
THERMOCYCLER_MODULE_V1,
|
|
10
|
+
THERMOCYCLER_MODULE_V2,
|
|
11
|
+
HEATERSHAKER_MODULE_V1,
|
|
12
|
+
MAGNETIC_MODULE_TYPE,
|
|
13
|
+
TEMPERATURE_MODULE_TYPE,
|
|
14
|
+
THERMOCYCLER_MODULE_TYPE,
|
|
15
|
+
HEATERSHAKER_MODULE_TYPE,
|
|
16
|
+
MAGNETIC_BLOCK_TYPE,
|
|
17
|
+
GEN1,
|
|
18
|
+
GEN2,
|
|
19
|
+
FLEX,
|
|
20
|
+
LEFT,
|
|
21
|
+
RIGHT,
|
|
22
|
+
GRIPPER_V1,
|
|
23
|
+
GRIPPER_V1_1,
|
|
24
|
+
GRIPPER_V1_2,
|
|
25
|
+
EXTENSION,
|
|
26
|
+
MAGNETIC_BLOCK_V1,
|
|
27
|
+
} from './constants'
|
|
28
|
+
import type { INode } from 'svgson'
|
|
29
|
+
import type { RunTimeCommand, LabwareLocation } from '../command/types'
|
|
30
|
+
import type { AddressableAreaName, CutoutFixtureId, CutoutId } from '../deck'
|
|
31
|
+
import type { PipetteName } from './pipettes'
|
|
32
|
+
|
|
33
|
+
export type RobotType = 'OT-2 Standard' | 'OT-3 Standard'
|
|
34
|
+
|
|
35
|
+
export interface RobotDefinition {
|
|
36
|
+
displayName: string
|
|
37
|
+
robotType: RobotType
|
|
38
|
+
models: string[]
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// TODO Ian 2019-06-04 split this out into eg ../labware/flowTypes/labwareV1.js
|
|
42
|
+
export interface WellDefinition {
|
|
43
|
+
diameter?: number
|
|
44
|
+
// NOTE: presence of diameter indicates a circular well
|
|
45
|
+
depth?: number
|
|
46
|
+
// TODO Ian 2018-03-12: depth should be required, but is missing in MALDI-plate
|
|
47
|
+
height: number
|
|
48
|
+
length: number
|
|
49
|
+
width: number
|
|
50
|
+
x: number
|
|
51
|
+
y: number
|
|
52
|
+
z: number
|
|
53
|
+
'total-liquid-volume': number
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// typedef for labware definitions under v1 labware schema
|
|
57
|
+
export interface LabwareDefinition1 {
|
|
58
|
+
metadata: {
|
|
59
|
+
name: string
|
|
60
|
+
format: string
|
|
61
|
+
deprecated?: boolean
|
|
62
|
+
displayName?: string
|
|
63
|
+
displayCategory?: string
|
|
64
|
+
isValidSource?: boolean
|
|
65
|
+
isTiprack?: boolean
|
|
66
|
+
tipVolume?: number
|
|
67
|
+
}
|
|
68
|
+
ordering: string[][]
|
|
69
|
+
wells: {
|
|
70
|
+
[well: string]: WellDefinition
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// TODO(mc, 2019-05-29): Remove this enum in favor of string + exported
|
|
75
|
+
// constants + unit tests to catch typos in our definitions. Make changes
|
|
76
|
+
// here and in shared-data/labware/schemas/2.json
|
|
77
|
+
export type LabwareDisplayCategory =
|
|
78
|
+
| 'wellPlate'
|
|
79
|
+
| 'tipRack'
|
|
80
|
+
| 'tubeRack'
|
|
81
|
+
| 'reservoir'
|
|
82
|
+
| 'aluminumBlock'
|
|
83
|
+
| 'trash'
|
|
84
|
+
| 'other'
|
|
85
|
+
| 'adapter'
|
|
86
|
+
|
|
87
|
+
export type LabwareVolumeUnits = 'µL' | 'mL' | 'L'
|
|
88
|
+
|
|
89
|
+
// TODO(mc, 2019-05-29): Remove this enum in favor of string + exported
|
|
90
|
+
// constants + unit tests to catch typos in our definitions. Make changes
|
|
91
|
+
// here and in shared-data/labware/schemas/2.json
|
|
92
|
+
export type WellBottomShape = 'flat' | 'u' | 'v'
|
|
93
|
+
|
|
94
|
+
export interface LabwareMetadata {
|
|
95
|
+
displayName: string
|
|
96
|
+
displayCategory: LabwareDisplayCategory
|
|
97
|
+
displayVolumeUnits: LabwareVolumeUnits
|
|
98
|
+
tags?: string[]
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export interface LabwareDimensions {
|
|
102
|
+
xDimension: number
|
|
103
|
+
yDimension: number
|
|
104
|
+
zDimension: number
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export interface Coordinates {
|
|
108
|
+
x: number
|
|
109
|
+
y: number
|
|
110
|
+
z: number
|
|
111
|
+
}
|
|
112
|
+
export type LabwareOffset = Coordinates
|
|
113
|
+
|
|
114
|
+
// 1. Valid pipette type for a container (i.e. is there multi channel access?)
|
|
115
|
+
// 2. Is the container a tiprack?
|
|
116
|
+
export interface LabwareParameters {
|
|
117
|
+
loadName: string
|
|
118
|
+
format: string
|
|
119
|
+
isTiprack: boolean
|
|
120
|
+
tipLength?: number
|
|
121
|
+
isMagneticModuleCompatible: boolean
|
|
122
|
+
magneticModuleEngageHeight?: number
|
|
123
|
+
quirks?: string[]
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export interface LabwareBrand {
|
|
127
|
+
brand: string
|
|
128
|
+
brandId?: string[]
|
|
129
|
+
links?: string[]
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export type LabwareWellShapeProperties =
|
|
133
|
+
| {
|
|
134
|
+
shape: 'circular'
|
|
135
|
+
diameter: number
|
|
136
|
+
}
|
|
137
|
+
| {
|
|
138
|
+
shape: 'rectangular'
|
|
139
|
+
xDimension: number
|
|
140
|
+
yDimension: number
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// well without x,y,z
|
|
144
|
+
export type LabwareWellProperties = LabwareWellShapeProperties & {
|
|
145
|
+
depth: number
|
|
146
|
+
totalLiquidVolume: number
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export type LabwareWell = LabwareWellProperties & {
|
|
150
|
+
x: number
|
|
151
|
+
y: number
|
|
152
|
+
z: number
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
// TODO(mc, 2019-03-21): exact object is tough to use with the initial value in
|
|
156
|
+
// reduce, so leaving this inexact (e.g. `const a: {||} = {}` errors)
|
|
157
|
+
export type LabwareWellMap = Record<string, LabwareWell>
|
|
158
|
+
|
|
159
|
+
export interface LabwareWellGroupMetadata {
|
|
160
|
+
displayName?: string
|
|
161
|
+
displayCategory?: LabwareDisplayCategory
|
|
162
|
+
wellBottomShape?: WellBottomShape
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export interface LabwareWellGroup {
|
|
166
|
+
wells: string[]
|
|
167
|
+
metadata: LabwareWellGroupMetadata
|
|
168
|
+
brand?: LabwareBrand
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export type LabwareRoles = 'labware' | 'adapter' | 'fixture' | 'maintenance'
|
|
172
|
+
|
|
173
|
+
// NOTE: must be synced with shared-data/labware/schemas/2.json
|
|
174
|
+
export interface LabwareDefinition2 {
|
|
175
|
+
version: number
|
|
176
|
+
schemaVersion: 2
|
|
177
|
+
namespace: string
|
|
178
|
+
metadata: LabwareMetadata
|
|
179
|
+
dimensions: LabwareDimensions
|
|
180
|
+
cornerOffsetFromSlot: LabwareOffset
|
|
181
|
+
parameters: LabwareParameters
|
|
182
|
+
brand: LabwareBrand
|
|
183
|
+
ordering: string[][]
|
|
184
|
+
wells: LabwareWellMap
|
|
185
|
+
groups: LabwareWellGroup[]
|
|
186
|
+
allowedRoles?: LabwareRoles[]
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export type ModuleType =
|
|
190
|
+
| typeof MAGNETIC_MODULE_TYPE
|
|
191
|
+
| typeof TEMPERATURE_MODULE_TYPE
|
|
192
|
+
| typeof THERMOCYCLER_MODULE_TYPE
|
|
193
|
+
| typeof HEATERSHAKER_MODULE_TYPE
|
|
194
|
+
| typeof MAGNETIC_BLOCK_TYPE
|
|
195
|
+
|
|
196
|
+
// ModuleModel corresponds to top-level keys in shared-data/module/definitions/2
|
|
197
|
+
export type MagneticModuleModel =
|
|
198
|
+
| typeof MAGNETIC_MODULE_V1
|
|
199
|
+
| typeof MAGNETIC_MODULE_V2
|
|
200
|
+
|
|
201
|
+
export type TemperatureModuleModel =
|
|
202
|
+
| typeof TEMPERATURE_MODULE_V1
|
|
203
|
+
| typeof TEMPERATURE_MODULE_V2
|
|
204
|
+
|
|
205
|
+
export type ThermocyclerModuleModel =
|
|
206
|
+
| typeof THERMOCYCLER_MODULE_V1
|
|
207
|
+
| typeof THERMOCYCLER_MODULE_V2
|
|
208
|
+
|
|
209
|
+
export type HeaterShakerModuleModel = typeof HEATERSHAKER_MODULE_V1
|
|
210
|
+
|
|
211
|
+
export type MagneticBlockModel = typeof MAGNETIC_BLOCK_V1
|
|
212
|
+
|
|
213
|
+
export type ModuleModel =
|
|
214
|
+
| MagneticModuleModel
|
|
215
|
+
| TemperatureModuleModel
|
|
216
|
+
| ThermocyclerModuleModel
|
|
217
|
+
| HeaterShakerModuleModel
|
|
218
|
+
| MagneticBlockModel
|
|
219
|
+
|
|
220
|
+
export type GripperModel =
|
|
221
|
+
| typeof GRIPPER_V1
|
|
222
|
+
| typeof GRIPPER_V1_1
|
|
223
|
+
| typeof GRIPPER_V1_2
|
|
224
|
+
|
|
225
|
+
export type ModuleModelWithLegacy =
|
|
226
|
+
| ModuleModel
|
|
227
|
+
| typeof THERMOCYCLER
|
|
228
|
+
| typeof MAGDECK
|
|
229
|
+
| typeof TEMPDECK
|
|
230
|
+
|
|
231
|
+
export interface Dimensions {
|
|
232
|
+
xDimension: number
|
|
233
|
+
yDimension: number
|
|
234
|
+
zDimension: number
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export interface DeckRobot {
|
|
238
|
+
model: RobotType
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export type CoordinateTuple = [number, number, number]
|
|
242
|
+
|
|
243
|
+
export type UnitDirection = 1 | -1
|
|
244
|
+
|
|
245
|
+
export type UnitVectorTuple = [UnitDirection, UnitDirection, UnitDirection]
|
|
246
|
+
|
|
247
|
+
export type DeckSlotId = string
|
|
248
|
+
|
|
249
|
+
export interface DeckSlot {
|
|
250
|
+
id: DeckSlotId
|
|
251
|
+
position: CoordinateTuple
|
|
252
|
+
matingSurfaceUnitVector?: UnitVectorTuple
|
|
253
|
+
boundingBox: Dimensions
|
|
254
|
+
displayName: string
|
|
255
|
+
compatibleModules: ModuleType[]
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
export interface DeckCalibrationPoint {
|
|
259
|
+
id: string
|
|
260
|
+
position: CoordinateTuple
|
|
261
|
+
displayName: string
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export interface CutoutFixture {
|
|
265
|
+
id: CutoutFixtureId
|
|
266
|
+
mayMountTo: CutoutId[]
|
|
267
|
+
displayName: string
|
|
268
|
+
providesAddressableAreas: Record<CutoutId, AddressableAreaName[]>
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
type AreaType = 'slot' | 'movableTrash' | 'wasteChute' | 'fixedTrash'
|
|
272
|
+
|
|
273
|
+
export interface AddressableArea {
|
|
274
|
+
id: AddressableAreaName
|
|
275
|
+
areaType: AreaType
|
|
276
|
+
offsetFromCutoutFixture: CoordinateTuple
|
|
277
|
+
boundingBox: Dimensions
|
|
278
|
+
displayName: string
|
|
279
|
+
compatibleModuleTypes: ModuleType[]
|
|
280
|
+
ableToDropLabware?: boolean
|
|
281
|
+
ableToDropTips?: boolean
|
|
282
|
+
dropLabwareOffset?: CoordinateTuple
|
|
283
|
+
dropTipsOffset?: CoordinateTuple
|
|
284
|
+
matingSurfaceUnitVector?: UnitVectorTuple
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
export interface DeckMetadata {
|
|
288
|
+
displayName: string
|
|
289
|
+
tags: string[]
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export interface DeckCutout {
|
|
293
|
+
id: string
|
|
294
|
+
position: CoordinateTuple
|
|
295
|
+
displayName: string
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export interface LegacyFixture {
|
|
299
|
+
id: string
|
|
300
|
+
slot: string
|
|
301
|
+
labware: string
|
|
302
|
+
displayName: string
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
export interface DeckLocations {
|
|
306
|
+
addressableAreas: AddressableArea[]
|
|
307
|
+
calibrationPoints: DeckCalibrationPoint[]
|
|
308
|
+
cutouts: DeckCutout[]
|
|
309
|
+
legacyFixtures: LegacyFixture[]
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export interface DeckDefinition {
|
|
313
|
+
otId: string
|
|
314
|
+
cornerOffsetFromOrigin: CoordinateTuple
|
|
315
|
+
dimensions: CoordinateTuple
|
|
316
|
+
robot: DeckRobot
|
|
317
|
+
locations: DeckLocations
|
|
318
|
+
metadata: DeckMetadata
|
|
319
|
+
cutoutFixtures: CutoutFixture[]
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export interface ModuleDimensions {
|
|
323
|
+
bareOverallHeight: number
|
|
324
|
+
overLabwareHeight: number
|
|
325
|
+
xDimension: number
|
|
326
|
+
yDimension: number
|
|
327
|
+
footprintXDimension?: number
|
|
328
|
+
footprintYDimension?: number
|
|
329
|
+
labwareInterfaceXDimension?: number
|
|
330
|
+
labwareInterfaceYDimension?: number
|
|
331
|
+
lidHeight?: number
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export interface ModuleCalibrationPoint {
|
|
335
|
+
x: number
|
|
336
|
+
y: number
|
|
337
|
+
z?: number
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export interface ModuleLayer {
|
|
341
|
+
name: string
|
|
342
|
+
pathDValues: string[]
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
// module definition that adheres to the v3 module json schema
|
|
346
|
+
export interface ModuleDefinition {
|
|
347
|
+
moduleType: ModuleType
|
|
348
|
+
model: ModuleModel
|
|
349
|
+
labwareOffset: Coordinates
|
|
350
|
+
dimensions: ModuleDimensions
|
|
351
|
+
cornerOffsetFromSlot: Coordinates
|
|
352
|
+
calibrationPoint: ModuleCalibrationPoint
|
|
353
|
+
displayName: string
|
|
354
|
+
quirks: string[]
|
|
355
|
+
slotTransforms: SlotTransforms
|
|
356
|
+
compatibleWith: ModuleModel[]
|
|
357
|
+
twoDimensionalRendering: INode
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
export type AffineTransformMatrix = number[][]
|
|
361
|
+
|
|
362
|
+
export interface SlotTransforms {
|
|
363
|
+
[deckOtId: string]: {
|
|
364
|
+
[slotId: string]: {
|
|
365
|
+
[transformKey in keyof ModuleDefinition]?: AffineTransformMatrix
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
export type ModuleOrientation = 'left' | 'right'
|
|
371
|
+
|
|
372
|
+
export type PipetteChannels = 1 | 8 | 96
|
|
373
|
+
|
|
374
|
+
export type PipetteDisplayCategory = typeof GEN1 | typeof GEN2 | typeof FLEX
|
|
375
|
+
|
|
376
|
+
export type PipetteMount = typeof LEFT | typeof RIGHT
|
|
377
|
+
export type GantryMount = typeof LEFT | typeof RIGHT | typeof EXTENSION
|
|
378
|
+
export interface FlowRateSpec {
|
|
379
|
+
value: number
|
|
380
|
+
min: number
|
|
381
|
+
max: number
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export interface PipetteNameSpecs {
|
|
385
|
+
name: string
|
|
386
|
+
displayName: string
|
|
387
|
+
displayCategory: PipetteDisplayCategory
|
|
388
|
+
minVolume: number
|
|
389
|
+
maxVolume: number
|
|
390
|
+
channels: PipetteChannels
|
|
391
|
+
defaultAspirateFlowRate: FlowRateSpec
|
|
392
|
+
defaultDispenseFlowRate: FlowRateSpec
|
|
393
|
+
defaultBlowOutFlowRate: FlowRateSpec
|
|
394
|
+
defaultTipracks: string[]
|
|
395
|
+
smoothieConfigs?: {
|
|
396
|
+
stepsPerMM: number
|
|
397
|
+
homePosition: number
|
|
398
|
+
travelDistance: number
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
// TODO(bc, 2021-05-27): the type of `model` here should be PipetteModel
|
|
403
|
+
// TODO(mc, 2019-10-14): update this type according to the schema
|
|
404
|
+
export interface PipetteModelSpecs extends PipetteNameSpecs {
|
|
405
|
+
model: string
|
|
406
|
+
backCompatNames?: string[]
|
|
407
|
+
tipLength: {
|
|
408
|
+
value: number
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
export interface ProtocolMetadata {
|
|
412
|
+
protocolName?: string
|
|
413
|
+
author?: string
|
|
414
|
+
description?: string | null
|
|
415
|
+
created?: number
|
|
416
|
+
lastModified?: number | null
|
|
417
|
+
category?: string | null
|
|
418
|
+
subcategory?: string | null
|
|
419
|
+
tags?: string[]
|
|
420
|
+
[key: string]: unknown
|
|
421
|
+
}
|
|
422
|
+
export interface PendingProtocolAnalysis {
|
|
423
|
+
id: string
|
|
424
|
+
status?: 'pending'
|
|
425
|
+
}
|
|
426
|
+
export interface ProtocolAnalysisSummary {
|
|
427
|
+
id: string
|
|
428
|
+
status: 'pending' | 'completed'
|
|
429
|
+
}
|
|
430
|
+
export interface LoadedPipette {
|
|
431
|
+
id: string
|
|
432
|
+
pipetteName: PipetteName
|
|
433
|
+
mount: 'left' | 'right'
|
|
434
|
+
}
|
|
435
|
+
export interface LoadedLabware {
|
|
436
|
+
id: string
|
|
437
|
+
loadName: string
|
|
438
|
+
definitionUri: string
|
|
439
|
+
location: LabwareLocation
|
|
440
|
+
offsetId?: string
|
|
441
|
+
displayName?: string
|
|
442
|
+
}
|
|
443
|
+
export interface LoadedModule {
|
|
444
|
+
id: string
|
|
445
|
+
model: ModuleModel
|
|
446
|
+
location: {
|
|
447
|
+
slotName: string
|
|
448
|
+
}
|
|
449
|
+
serialNumber: string
|
|
450
|
+
}
|
|
451
|
+
export interface Liquid {
|
|
452
|
+
id: string
|
|
453
|
+
displayName: string
|
|
454
|
+
description: string
|
|
455
|
+
displayColor?: string
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
export interface AnalysisError {
|
|
459
|
+
id: string
|
|
460
|
+
detail: string
|
|
461
|
+
errorType: string
|
|
462
|
+
createdAt: string
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
// TODO(BC, 10/25/2023): this type (and others in this file) probably belong in api-client, not here
|
|
466
|
+
export interface CompletedProtocolAnalysis {
|
|
467
|
+
id: string
|
|
468
|
+
status?: 'completed'
|
|
469
|
+
result: 'ok' | 'not-ok' | 'error'
|
|
470
|
+
pipettes: LoadedPipette[]
|
|
471
|
+
labware: LoadedLabware[]
|
|
472
|
+
modules: LoadedModule[]
|
|
473
|
+
liquids: Liquid[]
|
|
474
|
+
commands: RunTimeCommand[]
|
|
475
|
+
errors: AnalysisError[]
|
|
476
|
+
robotType?: RobotType | null
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
export interface ResourceFile {
|
|
480
|
+
name: string
|
|
481
|
+
role: string
|
|
482
|
+
}
|
|
483
|
+
export interface ProtocolResource {
|
|
484
|
+
id: string
|
|
485
|
+
createdAt: string
|
|
486
|
+
protocolType: 'json' | 'python'
|
|
487
|
+
robotType: RobotType
|
|
488
|
+
metadata: ProtocolMetadata
|
|
489
|
+
analysisSummaries: ProtocolAnalysisSummary[]
|
|
490
|
+
files: ResourceFile[]
|
|
491
|
+
key?: string
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export interface ProtocolAnalysesResource {
|
|
495
|
+
analyses: Array<PendingProtocolAnalysis | CompletedProtocolAnalysis>
|
|
496
|
+
}
|
|
497
|
+
export type MotorAxis =
|
|
498
|
+
| 'x'
|
|
499
|
+
| 'y'
|
|
500
|
+
| 'leftZ'
|
|
501
|
+
| 'rightZ'
|
|
502
|
+
| 'leftPlunger'
|
|
503
|
+
| 'rightPlunger'
|
|
504
|
+
| 'extensionZ'
|
|
505
|
+
| 'extensionJaw'
|
|
506
|
+
|
|
507
|
+
export type MotorAxes = MotorAxis[]
|
|
508
|
+
|
|
509
|
+
export type ThermalAdapterName =
|
|
510
|
+
| 'PCR Adapter'
|
|
511
|
+
| 'Deep Well Adapter'
|
|
512
|
+
| '96 Flat Bottom Adapter'
|
|
513
|
+
| 'Universal Flat Adapter'
|
|
514
|
+
|
|
515
|
+
// gripper definition that adheres to the v1 gripper json schema
|
|
516
|
+
export interface GripperDefinition {
|
|
517
|
+
$otSharedSchema: string
|
|
518
|
+
model: GripperModel
|
|
519
|
+
schemaVersion: number
|
|
520
|
+
displayName: string
|
|
521
|
+
zMotorConfigurations: { idle: number; run: number }
|
|
522
|
+
jawMotorConfigurations: { vref: number }
|
|
523
|
+
gripForceProfile: {
|
|
524
|
+
polynomial: [[number, number], [number, number]]
|
|
525
|
+
defaultGripForce: number
|
|
526
|
+
defaultHomeForce: number
|
|
527
|
+
defaultIdleForce: number
|
|
528
|
+
min: number
|
|
529
|
+
max: number
|
|
530
|
+
}
|
|
531
|
+
geometry: {
|
|
532
|
+
baseOffsetFromMount: [number, number, number]
|
|
533
|
+
jawCenterOffsetFromBase: [number, number, number]
|
|
534
|
+
pinOneOffsetFromBase: [number, number, number]
|
|
535
|
+
pinTwoOffsetFromBase: [number, number, number]
|
|
536
|
+
jawWidth: { min: number; max: number }
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
export type StatusBarAnimation =
|
|
541
|
+
| 'idle'
|
|
542
|
+
| 'confirm'
|
|
543
|
+
| 'updating'
|
|
544
|
+
| 'disco'
|
|
545
|
+
| 'off'
|
|
546
|
+
|
|
547
|
+
export type StatusBarAnimations = StatusBarAnimation[]
|
|
548
|
+
|
|
549
|
+
export type Cutout =
|
|
550
|
+
| 'cutoutA1'
|
|
551
|
+
| 'cutoutB1'
|
|
552
|
+
| 'cutoutC1'
|
|
553
|
+
| 'cutoutD1'
|
|
554
|
+
| 'cutoutA2'
|
|
555
|
+
| 'cutoutB2'
|
|
556
|
+
| 'cutoutC2'
|
|
557
|
+
| 'cutoutD2'
|
|
558
|
+
| 'cutoutA3'
|
|
559
|
+
| 'cutoutB3'
|
|
560
|
+
| 'cutoutC3'
|
|
561
|
+
| 'cutoutD3'
|
|
562
|
+
|
|
563
|
+
export type OT2Cutout =
|
|
564
|
+
| 'cutout1'
|
|
565
|
+
| 'cutout2'
|
|
566
|
+
| 'cutout3'
|
|
567
|
+
| 'cutout4'
|
|
568
|
+
| 'cutout5'
|
|
569
|
+
| 'cutout6'
|
|
570
|
+
| 'cutout7'
|
|
571
|
+
| 'cutout8'
|
|
572
|
+
| 'cutout9'
|
|
573
|
+
| 'cutout10'
|
|
574
|
+
| 'cutout11'
|
|
575
|
+
| 'cutout12'
|
|
576
|
+
|
|
577
|
+
export type FlexSlot =
|
|
578
|
+
| 'A1'
|
|
579
|
+
| 'B1'
|
|
580
|
+
| 'C1'
|
|
581
|
+
| 'D1'
|
|
582
|
+
| 'A2'
|
|
583
|
+
| 'B2'
|
|
584
|
+
| 'C2'
|
|
585
|
+
| 'D2'
|
|
586
|
+
| 'A3'
|
|
587
|
+
| 'B3'
|
|
588
|
+
| 'C3'
|
|
589
|
+
| 'D3'
|
|
590
|
+
| 'A4'
|
|
591
|
+
| 'B4'
|
|
592
|
+
| 'C4'
|
|
593
|
+
| 'D4'
|
|
594
|
+
|
|
595
|
+
export interface CutoutConfig {
|
|
596
|
+
cutoutId: CutoutId
|
|
597
|
+
cutoutFixtureId: CutoutFixtureId | null
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
export type DeckConfiguration = CutoutConfig[]
|