@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
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$otSharedSchema": "module/schemas/3",
|
|
3
|
+
"moduleType": "compatibleModuleType",
|
|
4
|
+
"model": "compatibleGenerationV1",
|
|
5
|
+
"labwareOffset": {
|
|
6
|
+
"x": -1.45,
|
|
7
|
+
"y": -0.15,
|
|
8
|
+
"z": 80.09
|
|
9
|
+
},
|
|
10
|
+
"dimensions": {
|
|
11
|
+
"bareOverallHeight": 84,
|
|
12
|
+
"overLabwareHeight": 0
|
|
13
|
+
},
|
|
14
|
+
"calibrationPoint": {
|
|
15
|
+
"x": 11.7,
|
|
16
|
+
"y": 8.75
|
|
17
|
+
},
|
|
18
|
+
"displayName": "Compatible Across Generations",
|
|
19
|
+
"quirks": [],
|
|
20
|
+
"slotTransforms": {
|
|
21
|
+
"ot2_standard": {
|
|
22
|
+
"3": {
|
|
23
|
+
"labwareOffset": [
|
|
24
|
+
[-1, 0, -0.3],
|
|
25
|
+
[0, 1, 0],
|
|
26
|
+
[0, 0, 1]
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"6": {
|
|
30
|
+
"labwareOffset": [
|
|
31
|
+
[-1, 0, -0.3],
|
|
32
|
+
[0, 1, 0],
|
|
33
|
+
[0, 0, 1]
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"9": {
|
|
37
|
+
"labwareOffset": [
|
|
38
|
+
[-1, 0, -0.3],
|
|
39
|
+
[0, 1, 0],
|
|
40
|
+
[0, 0, 1]
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"ot2_short_trash": {
|
|
45
|
+
"3": {
|
|
46
|
+
"labwareOffset": [
|
|
47
|
+
[-1, 0, -0.15],
|
|
48
|
+
[0, 1, 0],
|
|
49
|
+
[0, 0, 1]
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"6": {
|
|
53
|
+
"labwareOffset": [
|
|
54
|
+
[-1, 0, -0.15],
|
|
55
|
+
[0, 1, 0],
|
|
56
|
+
[0, 0, 1]
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"9": {
|
|
60
|
+
"labwareOffset": [
|
|
61
|
+
[-1, 0, -0.15],
|
|
62
|
+
[0, 1, 0],
|
|
63
|
+
[0, 0, 1]
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"compatibleWith": ["compatibleGenerationV2"]
|
|
69
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$otSharedSchema": "module/schemas/3",
|
|
3
|
+
"moduleType": "compatibleModuleType",
|
|
4
|
+
"model": "compatibleGenerationV2",
|
|
5
|
+
"labwareOffset": {
|
|
6
|
+
"x": -1.45,
|
|
7
|
+
"y": -0.15,
|
|
8
|
+
"z": 80.09
|
|
9
|
+
},
|
|
10
|
+
"dimensions": {
|
|
11
|
+
"bareOverallHeight": 84,
|
|
12
|
+
"overLabwareHeight": 0
|
|
13
|
+
},
|
|
14
|
+
"calibrationPoint": {
|
|
15
|
+
"x": 11.7,
|
|
16
|
+
"y": 8.75
|
|
17
|
+
},
|
|
18
|
+
"displayName": "Compatible Across Generations GEN2",
|
|
19
|
+
"quirks": [],
|
|
20
|
+
"slotTransforms": {
|
|
21
|
+
"ot2_standard": {
|
|
22
|
+
"3": {
|
|
23
|
+
"labwareOffset": [
|
|
24
|
+
[-1, 0, -0.3],
|
|
25
|
+
[0, 1, 0],
|
|
26
|
+
[0, 0, 1]
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"6": {
|
|
30
|
+
"labwareOffset": [
|
|
31
|
+
[-1, 0, -0.3],
|
|
32
|
+
[0, 1, 0],
|
|
33
|
+
[0, 0, 1]
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"9": {
|
|
37
|
+
"labwareOffset": [
|
|
38
|
+
[-1, 0, -0.3],
|
|
39
|
+
[0, 1, 0],
|
|
40
|
+
[0, 0, 1]
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"ot2_short_trash": {
|
|
45
|
+
"3": {
|
|
46
|
+
"labwareOffset": [
|
|
47
|
+
[-1, 0, -0.15],
|
|
48
|
+
[0, 1, 0],
|
|
49
|
+
[0, 0, 1]
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"6": {
|
|
53
|
+
"labwareOffset": [
|
|
54
|
+
[-1, 0, -0.15],
|
|
55
|
+
[0, 1, 0],
|
|
56
|
+
[0, 0, 1]
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"9": {
|
|
60
|
+
"labwareOffset": [
|
|
61
|
+
[-1, 0, -0.15],
|
|
62
|
+
[0, 1, 0],
|
|
63
|
+
[0, 0, 1]
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"compatibleWith": ["compatibleGenerationV1"]
|
|
69
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$otSharedSchema": "module/schemas/3",
|
|
3
|
+
"moduleType": "incompatibleGenerationType",
|
|
4
|
+
"model": "incompatibleGenerationV1",
|
|
5
|
+
"labwareOffset": {
|
|
6
|
+
"x": 0.125,
|
|
7
|
+
"y": -0.125,
|
|
8
|
+
"z": 82.25
|
|
9
|
+
},
|
|
10
|
+
"dimensions": {
|
|
11
|
+
"bareOverallHeight": 110.152,
|
|
12
|
+
"overLabwareHeight": 4.052
|
|
13
|
+
},
|
|
14
|
+
"calibrationPoint": {
|
|
15
|
+
"x": 124.875,
|
|
16
|
+
"y": 2.75
|
|
17
|
+
},
|
|
18
|
+
"displayName": "Incompatible Across Generations",
|
|
19
|
+
"quirks": [],
|
|
20
|
+
"slotTransforms": {},
|
|
21
|
+
"compatibleWith": []
|
|
22
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$otSharedSchema": "module/schemas/3",
|
|
3
|
+
"moduleType": "incompatibleGenerationType",
|
|
4
|
+
"model": "incompatibleGenerationV2",
|
|
5
|
+
"labwareOffset": {
|
|
6
|
+
"x": -1.175,
|
|
7
|
+
"y": -0.125,
|
|
8
|
+
"z": 82.25
|
|
9
|
+
},
|
|
10
|
+
"dimensions": {
|
|
11
|
+
"bareOverallHeight": 110.152,
|
|
12
|
+
"overLabwareHeight": 4.052
|
|
13
|
+
},
|
|
14
|
+
"calibrationPoint": {
|
|
15
|
+
"x": 124.875,
|
|
16
|
+
"y": 2.75
|
|
17
|
+
},
|
|
18
|
+
"displayName": "Incompatible Across Generations GEN2",
|
|
19
|
+
"quirks": [],
|
|
20
|
+
"slotTransforms": {
|
|
21
|
+
"ot2_standard": {
|
|
22
|
+
"3": {
|
|
23
|
+
"labwareOffset": [
|
|
24
|
+
[-1, 0, 0.25],
|
|
25
|
+
[0, 1, 0],
|
|
26
|
+
[0, 0, 1]
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"6": {
|
|
30
|
+
"labwareOffset": [
|
|
31
|
+
[-1, 0, 0.25],
|
|
32
|
+
[0, 1, 0],
|
|
33
|
+
[0, 0, 1]
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"9": {
|
|
37
|
+
"labwareOffset": [
|
|
38
|
+
[-1, 0, 0.25],
|
|
39
|
+
[0, 1, 0],
|
|
40
|
+
[0, 0, 1]
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"ot2_short_trash": {
|
|
45
|
+
"3": {
|
|
46
|
+
"labwareOffset": [
|
|
47
|
+
[-1, 0, 0.3],
|
|
48
|
+
[0, 1, 0],
|
|
49
|
+
[0, 0, 1]
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"6": {
|
|
53
|
+
"labwareOffset": [
|
|
54
|
+
[-1, 0, 0.3],
|
|
55
|
+
[0, 1, 0],
|
|
56
|
+
[0, 0, 1]
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"9": {
|
|
60
|
+
"labwareOffset": [
|
|
61
|
+
[-1, 0, 0.3],
|
|
62
|
+
[0, 1, 0],
|
|
63
|
+
[0, 0, 1]
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"compatibleWith": []
|
|
69
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
|
|
4
|
+
"definitions": {
|
|
5
|
+
"coordinates": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": ["x", "y"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"x": { "type": "number" },
|
|
11
|
+
"y": { "type": "number" },
|
|
12
|
+
"z": { "type": "number" }
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"description": "Module specifications",
|
|
17
|
+
"type": "object",
|
|
18
|
+
"$comment": "Example key: 'magdeck'",
|
|
19
|
+
"patternProperties": {
|
|
20
|
+
".*": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"required": [
|
|
23
|
+
"labwareOffset",
|
|
24
|
+
"dimensions",
|
|
25
|
+
"calibrationPoint",
|
|
26
|
+
"displayName",
|
|
27
|
+
"loadName",
|
|
28
|
+
"quirks"
|
|
29
|
+
],
|
|
30
|
+
"additionalProperties": false,
|
|
31
|
+
"properties": {
|
|
32
|
+
"labwareOffset": { "$ref": "#/definitions/coordinates" },
|
|
33
|
+
"dimensions": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"required": ["bareOverallHeight", "overLabwareHeight"],
|
|
36
|
+
"properties": {
|
|
37
|
+
"bareOverallHeight": { "type": "number" },
|
|
38
|
+
"overLabwareHeight": { "type": "number" },
|
|
39
|
+
"lidHeight": { "type": "number" }
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"calibrationPoint": { "$ref": "#/definitions/coordinates" },
|
|
43
|
+
"displayName": { "type": "string" },
|
|
44
|
+
"loadName": { "type": "string" },
|
|
45
|
+
"quirks": {
|
|
46
|
+
"type": "array",
|
|
47
|
+
"description": "List of quirks for a given module",
|
|
48
|
+
"items": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"coordinates": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["x", "y"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"x": { "type": "number" },
|
|
10
|
+
"y": { "type": "number" },
|
|
11
|
+
"z": { "type": "number" }
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"affineTransform": {
|
|
15
|
+
"description": "A 3x3 row-major matrix describing an affine transform to apply to the labwareOffset and calibrationPoint coordinates of the module (in certain circumstances, e.g. per slot)",
|
|
16
|
+
"type": "array",
|
|
17
|
+
"minItems": 3,
|
|
18
|
+
"maxItems": 3,
|
|
19
|
+
"items": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"minItems": 3,
|
|
22
|
+
"maxItems": 3,
|
|
23
|
+
"items": {
|
|
24
|
+
"type": "number"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"description": "Module specification",
|
|
30
|
+
"type": "object",
|
|
31
|
+
"required": [
|
|
32
|
+
"$otSharedSchema",
|
|
33
|
+
"moduleType",
|
|
34
|
+
"model",
|
|
35
|
+
"labwareOffset",
|
|
36
|
+
"dimensions",
|
|
37
|
+
"calibrationPoint",
|
|
38
|
+
"displayName",
|
|
39
|
+
"quirks",
|
|
40
|
+
"slotTransforms",
|
|
41
|
+
"compatibleWith"
|
|
42
|
+
],
|
|
43
|
+
"additionalProperties": false,
|
|
44
|
+
"properties": {
|
|
45
|
+
"$otSharedSchema": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"description": "The path to a valid Opentrons shared schema relative to the shared-data directory, without its extension. For instance, #/module/schemas/2 is a reference to this schema."
|
|
48
|
+
},
|
|
49
|
+
"moduleType": {
|
|
50
|
+
"enum": [
|
|
51
|
+
"temperatureModuleType",
|
|
52
|
+
"magneticModuleType",
|
|
53
|
+
"thermocyclerModuleType"
|
|
54
|
+
],
|
|
55
|
+
"type": "string"
|
|
56
|
+
},
|
|
57
|
+
"model": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"pattern": "^(temperatureModule|magneticModule|thermocyclerModule)V[0-9]+$"
|
|
60
|
+
},
|
|
61
|
+
"labwareOffset": { "$ref": "#/definitions/coordinates" },
|
|
62
|
+
"dimensions": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"required": ["bareOverallHeight", "overLabwareHeight"],
|
|
65
|
+
"properties": {
|
|
66
|
+
"bareOverallHeight": { "type": "number" },
|
|
67
|
+
"overLabwareHeight": { "type": "number" },
|
|
68
|
+
"lidHeight": { "type": "number" }
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"calibrationPoint": { "$ref": "#/definitions/coordinates" },
|
|
72
|
+
"displayName": { "type": "string" },
|
|
73
|
+
"quirks": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"description": "List of quirks for a given module",
|
|
76
|
+
"items": {
|
|
77
|
+
"type": "string"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"slotTransforms": {
|
|
81
|
+
"type": "object",
|
|
82
|
+
"description": "Per-deckmap sets of per-slot transforms, properties should be ids of decks such as \"ot2_standard\". Transforms for a deck not explicitly listed are the identity.",
|
|
83
|
+
"patternProperties": {
|
|
84
|
+
".*": {
|
|
85
|
+
"type": "object",
|
|
86
|
+
"patternProperties:": {
|
|
87
|
+
"^([1-9]|10|11)$": {
|
|
88
|
+
"type": "object",
|
|
89
|
+
"description": "Holds 2-D affine transforms that should be applied to top level keys plus the special property $image for applying to images images. If any top level key has no corresponding entry, it is an identity transform. If the transform applies to an entity specifying a 3D position, it should be applied only to the x and y.",
|
|
90
|
+
"patternProperties": {
|
|
91
|
+
".*": {
|
|
92
|
+
"type": "object",
|
|
93
|
+
"description": "The keys identify transforms that apply to different sections of the module definition. Most will be top level keys of the module def (for instance, \"labwareOffset\") but there may also be additional meta keys for values that are not in the def",
|
|
94
|
+
"patternProperties": {
|
|
95
|
+
".*": { "$ref": "#/definitions/affineTransform" }
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"compatibleWith": {
|
|
105
|
+
"type": "array",
|
|
106
|
+
"items": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"description": "A compatible module model (e.g. temperatureModuleV1)"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"coordinates": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["x", "y", "z"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"x": { "type": "number" },
|
|
10
|
+
"y": { "type": "number" },
|
|
11
|
+
"z": { "type": "number" }
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"affineTransform": {
|
|
15
|
+
"description": "A 4x4 row-major matrix describing an affine transform to apply to the labwareOffset and calibrationPoint coordinates of the module (in certain circumstances, e.g. per slot)",
|
|
16
|
+
"type": "array",
|
|
17
|
+
"minItems": 4,
|
|
18
|
+
"maxItems": 4,
|
|
19
|
+
"items": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"minItems": 4,
|
|
22
|
+
"maxItems": 4,
|
|
23
|
+
"items": {
|
|
24
|
+
"type": "number"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"svgsonNode": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"description": "An svgson node that corresponds to a single svg tag",
|
|
31
|
+
"properties": {
|
|
32
|
+
"name": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "Element name, like svg, circle, line…"
|
|
35
|
+
},
|
|
36
|
+
"type": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"description": "Element type like element, text…"
|
|
39
|
+
},
|
|
40
|
+
"value": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"description": "Element value, used in text nodes."
|
|
43
|
+
},
|
|
44
|
+
"children": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"description": "List of element children",
|
|
47
|
+
"items": { "$ref": "#" }
|
|
48
|
+
},
|
|
49
|
+
"attributes": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"description": "Attributes for the element"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"description": "Module specification",
|
|
57
|
+
"type": "object",
|
|
58
|
+
"required": [
|
|
59
|
+
"$otSharedSchema",
|
|
60
|
+
"moduleType",
|
|
61
|
+
"model",
|
|
62
|
+
"labwareOffset",
|
|
63
|
+
"cornerOffsetFromSlot",
|
|
64
|
+
"dimensions",
|
|
65
|
+
"calibrationPoint",
|
|
66
|
+
"displayName",
|
|
67
|
+
"quirks",
|
|
68
|
+
"slotTransforms",
|
|
69
|
+
"compatibleWith",
|
|
70
|
+
"twoDimensionalRendering"
|
|
71
|
+
],
|
|
72
|
+
"additionalProperties": false,
|
|
73
|
+
"properties": {
|
|
74
|
+
"$otSharedSchema": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"description": "The path to a valid Opentrons shared schema relative to the shared-data directory, without its extension. For instance, #/module/schemas/3 is a reference to this schema."
|
|
77
|
+
},
|
|
78
|
+
"moduleType": {
|
|
79
|
+
"enum": [
|
|
80
|
+
"temperatureModuleType",
|
|
81
|
+
"magneticModuleType",
|
|
82
|
+
"thermocyclerModuleType",
|
|
83
|
+
"heaterShakerModuleType",
|
|
84
|
+
"magneticBlockType"
|
|
85
|
+
],
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
"model": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"pattern": "^(temperatureModule|magneticModule|thermocyclerModule|heaterShakerModule|magneticBlock)V[0-9]+$"
|
|
91
|
+
},
|
|
92
|
+
"labwareOffset": { "$ref": "#/definitions/coordinates" },
|
|
93
|
+
"dimensions": {
|
|
94
|
+
"type": "object",
|
|
95
|
+
"required": [
|
|
96
|
+
"bareOverallHeight",
|
|
97
|
+
"overLabwareHeight",
|
|
98
|
+
"xDimension",
|
|
99
|
+
"yDimension"
|
|
100
|
+
],
|
|
101
|
+
"properties": {
|
|
102
|
+
"bareOverallHeight": { "type": "number" },
|
|
103
|
+
"overLabwareHeight": { "type": "number" },
|
|
104
|
+
"lidHeight": { "type": "number" },
|
|
105
|
+
"xDimension": { "type": "number" },
|
|
106
|
+
"yDimension": { "type": "number" },
|
|
107
|
+
"footprintXDimension": { "type": "number" },
|
|
108
|
+
"footprintYDimension": { "type": "number" },
|
|
109
|
+
"labwareInterfaceXDimension": { "type": "number" },
|
|
110
|
+
"labwareInterfaceYDimension": { "type": "number" }
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"cornerOffsetFromSlot": {
|
|
114
|
+
"$ref": "#/definitions/coordinates",
|
|
115
|
+
"description": "Position of left-front-bottom corner of entire module chassis to slot footprint origin (left-front-bottom)"
|
|
116
|
+
},
|
|
117
|
+
"calibrationPoint": {
|
|
118
|
+
"$ref": "#/definitions/coordinates",
|
|
119
|
+
"description": "A point on the module's interaction plane (where labware is placed) used for calibrating the module. Slated for future use (as of 2022-05-20)."
|
|
120
|
+
},
|
|
121
|
+
"config": {
|
|
122
|
+
"type": "object",
|
|
123
|
+
"description": "Module's hardware-defined constraints",
|
|
124
|
+
"properties": {
|
|
125
|
+
"minPlateTemperature": { "type": "number" },
|
|
126
|
+
"maxPlateTemperature": { "type": "number" },
|
|
127
|
+
"minShakeSpeed": { "type": "number" },
|
|
128
|
+
"maxShakeSpeed": { "type": "number" },
|
|
129
|
+
"maxEngageHeight": { "type": "number" },
|
|
130
|
+
"minTemperature": { "type": "number" },
|
|
131
|
+
"maxTemperature": { "type": "number" },
|
|
132
|
+
"minBlockTemperature": { "type": "number" },
|
|
133
|
+
"maxBlockTemperature": { "type": "number" },
|
|
134
|
+
"minLidTemperature": { "type": "number" },
|
|
135
|
+
"maxLidTemperature": { "type": "number" },
|
|
136
|
+
"minBlockVolume": { "type": "number" },
|
|
137
|
+
"maxBlockVolume": { "type": "number" }
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"gripperOffsets": {
|
|
141
|
+
"type": "object",
|
|
142
|
+
"description": "Offsets to be added when calculating the coordinates a gripper should go to when picking up or dropping a labware on a module.",
|
|
143
|
+
"properties": {
|
|
144
|
+
"default": {
|
|
145
|
+
"type": "object",
|
|
146
|
+
"properties": {
|
|
147
|
+
"pickUpOffset": {
|
|
148
|
+
"$ref": "#/definitions/coordinates",
|
|
149
|
+
"description": "Offset added to calculate pick-up coordinates of a labware placed on this module."
|
|
150
|
+
},
|
|
151
|
+
"dropOffset": {
|
|
152
|
+
"$ref": "#/definitions/coordinates",
|
|
153
|
+
"description": "Offset added to calculate drop coordinates of a labware placed on this module."
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"required": ["pickUpOffset", "dropOffset"]
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"required": ["default"]
|
|
160
|
+
},
|
|
161
|
+
"displayName": { "type": "string" },
|
|
162
|
+
"quirks": {
|
|
163
|
+
"type": "array",
|
|
164
|
+
"description": "List of quirks for a given module",
|
|
165
|
+
"items": {
|
|
166
|
+
"type": "string"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"slotTransforms": {
|
|
170
|
+
"type": "object",
|
|
171
|
+
"description": "Per-deckmap sets of per-slot transforms, properties should be ids of decks such as \"ot2_standard\". Transforms for a deck not explicitly listed are the identity.",
|
|
172
|
+
"patternProperties": {
|
|
173
|
+
".*": {
|
|
174
|
+
"type": "object",
|
|
175
|
+
"patternProperties:": {
|
|
176
|
+
"^([1-9]|10|11)$": {
|
|
177
|
+
"type": "object",
|
|
178
|
+
"description": "Holds 2-D affine transforms that should be applied to top level keys plus the special property $image for applying to images images. If any top level key has no corresponding entry, it is an identity transform. If the transform applies to an entity specifying a 3D position, it should be applied only to the x and y.",
|
|
179
|
+
"patternProperties": {
|
|
180
|
+
".*": {
|
|
181
|
+
"type": "object",
|
|
182
|
+
"description": "The keys identify transforms that apply to different sections of the module definition. Most will be top level keys of the module def (for instance, \"labwareOffset\") but there may also be additional meta keys for values that are not in the def",
|
|
183
|
+
"patternProperties": {
|
|
184
|
+
".*": { "$ref": "#/definitions/affineTransform" }
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"compatibleWith": {
|
|
194
|
+
"type": "array",
|
|
195
|
+
"items": {
|
|
196
|
+
"type": "string",
|
|
197
|
+
"description": "A compatible module model (e.g. temperatureModuleV1)"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"twoDimensionalRendering": {
|
|
201
|
+
"type": "object",
|
|
202
|
+
"description": "SVG rendering of the module represented as svgson",
|
|
203
|
+
"items": { "$ref": "#/definitions/svgsonNode" }
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@opentrons/shared-data",
|
|
3
|
+
"version": "0.0.0-alpha.2",
|
|
4
|
+
"description": "Shared system definitions and utilities for Opentrons robots and software",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/Opentrons/opentrons.git"
|
|
8
|
+
},
|
|
9
|
+
"author": "Opentrons Labworks",
|
|
10
|
+
"license": "Apache-2.0",
|
|
11
|
+
"source": "js/index.ts",
|
|
12
|
+
"types": "lib/js/index.d.ts",
|
|
13
|
+
"flow:main": "flow-types/js/index.js.flow",
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"ajv": "^6.12.3",
|
|
16
|
+
"html-react-parser": "^1.2.8",
|
|
17
|
+
"lodash": "4.17.21",
|
|
18
|
+
"svgson": "^5.2.1"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Pipette Configurations
|
|
2
|
+
|
|
3
|
+
## Schema Version 2
|
|
4
|
+
|
|
5
|
+
Information about our pipettes is now split into 3 different categories of data. Each data file is organized into `<configuration_type>/<pipette_type>/<pipette_model>/<pipette_version>`.
|
|
6
|
+
|
|
7
|
+
- `configuration_type` is the top level category of data (i.e. `geometry` or `liquid`)
|
|
8
|
+
- `pipette_type` is the type of pipette generally referred to by the channel size (i.e. `single_channel` or `eight_channel`)
|
|
9
|
+
- `pipette_model` is the max volume of the pipette (i.e. `p50` or `p1000`)
|
|
10
|
+
- `pipette_version` is the version number flashed to the pipette (i.e. `v1` or `v1.2`)
|
|
11
|
+
|
|
12
|
+
This organization is subject to change based on the model name changes that product might make.
|
|
13
|
+
|
|
14
|
+
### Geometry Configurations: `shared-data/pipette/schemas/2/pipetteGeometrySchema.json`
|
|
15
|
+
|
|
16
|
+
Pipette geometry configurations includes physical properties that map the pipette end effector in space. In this section of data, we would also like to store 3D model descriptor files that are compatible with typescript and other 3D modeling visualization software for future applications.
|
|
17
|
+
|
|
18
|
+
We are planning to use [gltf](https://www.khronos.org/gltf/) formatted files as you can choose your 3D model anchors inside solidworks and export the file.
|
|
19
|
+
|
|
20
|
+
### Liquid Configurations: `shared-data/pipette/schemas/2/pipetteLiquidPropertiesSchema.json`
|
|
21
|
+
|
|
22
|
+
Pipette liquid configurations include all pipette properties that may affect liquid handling. This includes pipetting function and default flow rates based on tip size.
|
|
23
|
+
|
|
24
|
+
We have now added in the ability to categorize liquid handling properties by tip type (which can also vary by brand). Eventually, we may need this to be more complex than just a look up dictionary of `tip_type` : `brand+liquid` but we can decide to make that change at a different time.
|
|
25
|
+
|
|
26
|
+
### General Properties Configurations: `shared-data/pipette/schemas/2/pipettePropertiesSchema.json`
|
|
27
|
+
|
|
28
|
+
Pipette general properties should be similar to schema version 1 name specs that are shared across pipette type + model.
|
|
29
|
+
|
|
30
|
+
## Schema Version 1
|
|
31
|
+
|
|
32
|
+
Information about our pipettes is split into 2 different files.
|
|
33
|
+
|
|
34
|
+
### Name Level: `shared-data/pipette/schemas/1/pipetteNameSpecs.json`
|
|
35
|
+
|
|
36
|
+
A pipette name is what is communicated with customers, what is listed in the store, etc. Name-level information does not vary across pipettes with the same "name", it includes: min and max volume, display name, number of channels, and default aspirate/dispense flow rates.
|
|
37
|
+
|
|
38
|
+
The "name" is all that is communicated to the average user about a pipette. Both JSON and Python protocols specify pipettes by name; they never specify the pipette model/version.
|
|
39
|
+
|
|
40
|
+
`"p10_single"` is an example of a name.
|
|
41
|
+
|
|
42
|
+
### Model Level: `shared-data/pipette/schemas/1/pipetteModelSpecs.json`
|
|
43
|
+
|
|
44
|
+
A "model" is synonymous with a part number. Our models / part numbers look like `"p10_single_v1.3"`. Although the name is a substring of the model string, it isn't a good idea to infer name by parsing it out of the model.
|
|
45
|
+
|
|
46
|
+
The model level contains information specific to particular pipette models. The model can be read off of a pipette's EEPROM at runtime. This information is required for protocol execution on the robot, but is not used directly in the code of JSON or Python protocols.
|
|
47
|
+
|
|
48
|
+
## JSON Schemas
|
|
49
|
+
|
|
50
|
+
In `shared-data/pipette/schemas/` there are JSON schemas for these files, which ensure data integrity. Further descriptions about the individual fields are written into the schemas.
|