@opentrons/shared-data 0.1.1 → 0.1.2-alpha.1
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/gripper/definitions/1/gripperV1.1.json +1 -1
- package/gripper/definitions/1/gripperV1.2.json +1 -1
- 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 +38 -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 +405 -0
- package/js/cypressUtils.ts +35 -0
- package/js/errors.ts +33 -0
- package/js/fixtures.ts +156 -0
- package/js/getLabware.ts +145 -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__/getSimplestFlexDeckConfig.test.ts +176 -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/getAddressableAreasInProtocol.ts +98 -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/getSimplestFlexDeckConfig.ts +183 -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 +348 -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 +155 -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/generateDeckLayersFromSVG.js +46 -0
- package/js/titleCase.ts +30 -0
- package/js/types.ts +561 -0
- package/lib/command/schemas/7.json +3301 -0
- package/lib/command/schemas/8.json +3902 -0
- package/lib/command/types/annotation.d.ts +24 -0
- package/lib/command/types/calibration.d.ts +58 -0
- package/lib/command/types/gantry.d.ts +134 -0
- package/lib/command/types/incidental.d.ts +15 -0
- package/lib/command/types/index.d.ts +41 -0
- package/lib/command/types/module.d.ts +191 -0
- package/lib/command/types/pipetting.d.ts +195 -0
- package/lib/command/types/setup.d.ts +133 -0
- package/lib/command/types/timing.d.ts +39 -0
- package/lib/commandAnnotation/schemas/1.json +74 -0
- package/lib/commandAnnotation/types/index.d.ts +19 -0
- package/lib/deck/definitions/3/ot2_short_trash.json +477 -0
- package/lib/deck/definitions/3/ot2_standard.json +477 -0
- package/lib/deck/definitions/3/ot3_standard.json +989 -0
- package/lib/deck/definitions/4/ot2_short_trash.json +405 -0
- package/lib/deck/definitions/4/ot2_standard.json +405 -0
- package/lib/deck/definitions/4/ot3_standard.json +609 -0
- package/lib/deck/fixtures/3/deckExample.json +481 -0
- package/lib/deck/index.d.ts +1 -0
- package/lib/deck/schemas/1.json +229 -0
- package/lib/deck/schemas/2.json +239 -0
- package/lib/deck/schemas/3.json +296 -0
- package/lib/deck/schemas/4.json +319 -0
- package/lib/deck/types/schemaV4.d.ts +12 -0
- package/lib/errors/definitions/1/errors.json +226 -0
- package/lib/errors/schemas/1.json +49 -0
- package/lib/gripper/definitions/1/gripperV1.1.json +29 -0
- package/lib/gripper/definitions/1/gripperV1.2.json +29 -0
- package/lib/gripper/definitions/1/gripperV1.json +28 -0
- package/lib/gripper/schemas/1.json +186 -0
- package/lib/js/__tests__/deckSchemas.test.d.ts +1 -0
- package/lib/js/__tests__/getAreSlotsAdjacent.test.d.ts +1 -0
- package/lib/js/__tests__/getWellNamePerMultiTip.test.d.ts +1 -0
- package/lib/js/__tests__/labwareDefQuirks.test.d.ts +1 -0
- package/lib/js/__tests__/labwareDefSchemaV1.test.d.ts +1 -0
- package/lib/js/__tests__/labwareDefSchemaV2.test.d.ts +1 -0
- package/lib/js/__tests__/moduleAccessors.test.d.ts +1 -0
- package/lib/js/__tests__/moduleSpecsSchema.test.d.ts +1 -0
- package/lib/js/__tests__/pipetteSchemaV2.test.d.ts +1 -0
- package/lib/js/__tests__/pipetteSpecSchemas.test.d.ts +1 -0
- package/lib/js/__tests__/pipettes.test.d.ts +1 -0
- package/lib/js/__tests__/protocolSchemaV4.test.d.ts +1 -0
- package/lib/js/__tests__/protocolSchemaV5.test.d.ts +1 -0
- package/lib/js/__tests__/protocolSchemaV6.test.d.ts +1 -0
- package/lib/js/__tests__/protocolSchemaV7.test.d.ts +1 -0
- package/lib/js/__tests__/protocolValidation.test.d.ts +1 -0
- package/lib/js/__tests__/sortWells.test.d.ts +1 -0
- package/lib/js/__tests__/splitWellsOnColumn.test.d.ts +1 -0
- package/lib/js/constants.d.ts +156 -0
- package/lib/js/cypressUtils.d.ts +1 -0
- package/lib/js/errors.d.ts +13 -0
- package/lib/js/fixtures.d.ts +13 -0
- package/lib/js/getLabware.d.ts +8 -0
- package/lib/js/gripper.d.ts +3 -0
- package/lib/js/helpers/__tests__/getAdapterName.test.d.ts +1 -0
- package/lib/js/helpers/__tests__/getDeckDefFromLoadedLabware.test.d.ts +1 -0
- package/lib/js/helpers/__tests__/getSimplestFlexDeckConfig.test.d.ts +1 -0
- package/lib/js/helpers/__tests__/getVectorDifference.test.d.ts +1 -0
- package/lib/js/helpers/__tests__/getVectorSum.test.d.ts +1 -0
- package/lib/js/helpers/__tests__/labwareInference.test.d.ts +1 -0
- package/lib/js/helpers/__tests__/orderWells.test.d.ts +1 -0
- package/lib/js/helpers/__tests__/parseProtocolData.test.d.ts +1 -0
- package/lib/js/helpers/__tests__/volume.test.d.ts +1 -0
- package/lib/js/helpers/__tests__/wellSets.test.d.ts +1 -0
- package/lib/js/helpers/get96Channel384WellPlateWells.d.ts +1 -0
- package/lib/js/helpers/getAddressableAreasInProtocol.d.ts +4 -0
- package/lib/js/helpers/getLoadedLabwareDefinitionsByUri.d.ts +5 -0
- package/lib/js/helpers/getModuleVizDims.d.ts +16 -0
- package/lib/js/helpers/getOccludedSlotCountForModule.d.ts +2 -0
- package/lib/js/helpers/getSimplestFlexDeckConfig.d.ts +14 -0
- package/lib/js/helpers/getVectorDifference.d.ts +2 -0
- package/lib/js/helpers/getVectorSum.d.ts +2 -0
- package/lib/js/helpers/getWellNamePerMultiTip.d.ts +3 -0
- package/lib/js/helpers/getWellTotalVolume.d.ts +2 -0
- package/lib/js/helpers/index.d.ts +44 -0
- package/lib/js/helpers/labwareInference.d.ts +16 -0
- package/lib/js/helpers/orderWells.d.ts +2 -0
- package/lib/js/helpers/parseProtocolData.d.ts +23 -0
- package/lib/js/helpers/volume.d.ts +4 -0
- package/lib/js/helpers/wellIsRect.d.ts +3 -0
- package/lib/js/helpers/wellSets.d.ts +9 -0
- package/lib/js/index.d.ts +14 -0
- package/lib/js/labwareTools/__tests__/createDefaultDisplayName.test.d.ts +1 -0
- package/lib/js/labwareTools/__tests__/createIrregularLabware.test.d.ts +1 -0
- package/lib/js/labwareTools/__tests__/createLabware.test.d.ts +1 -0
- package/lib/js/labwareTools/index.d.ts +65 -0
- package/lib/js/modules.d.ts +6 -0
- package/lib/js/pipettes.d.ts +13 -0
- package/lib/js/protocols.d.ts +3 -0
- package/lib/js/schema.d.ts +90 -0
- package/lib/js/titleCase.d.ts +1 -0
- package/lib/js/types.d.ts +398 -0
- package/lib/labware/definitions/1/12-well-plate.json +147 -0
- package/lib/labware/definitions/1/24-vial-rack.json +281 -0
- package/lib/labware/definitions/1/24-well-plate.json +281 -0
- package/lib/labware/definitions/1/384-plate.json +4667 -0
- package/lib/labware/definitions/1/48-vial-plate.json +547 -0
- package/lib/labware/definitions/1/48-well-plate.json +547 -0
- package/lib/labware/definitions/1/5ml-3x4.json +147 -0
- package/lib/labware/definitions/1/6-well-plate.json +80 -0
- package/lib/labware/definitions/1/96-PCR-flat.json +1079 -0
- package/lib/labware/definitions/1/96-PCR-tall.json +1079 -0
- package/lib/labware/definitions/1/96-deep-well.json +1079 -0
- package/lib/labware/definitions/1/96-flat.json +1079 -0
- package/lib/labware/definitions/1/96-well-plate-20mm.json +1079 -0
- package/lib/labware/definitions/1/MALDI-plate.json +4282 -0
- package/lib/labware/definitions/1/PCR-strip-tall.json +1079 -0
- package/lib/labware/definitions/1/T25-flask.json +20 -0
- package/lib/labware/definitions/1/T75-flask.json +20 -0
- package/lib/labware/definitions/1/alum-block-pcr-strips.json +188 -0
- package/lib/labware/definitions/1/biorad-hardshell-96-PCR.json +1079 -0
- package/lib/labware/definitions/1/e-gelgol.json +1078 -0
- package/lib/labware/definitions/1/fixed-trash.json +19 -0
- package/lib/labware/definitions/1/hampton-1ml-deep-block.json +1078 -0
- package/lib/labware/definitions/1/opentrons-aluminum-block-2ml-eppendorf.json +281 -0
- package/lib/labware/definitions/1/opentrons-aluminum-block-2ml-screwcap.json +281 -0
- package/lib/labware/definitions/1/opentrons-aluminum-block-96-PCR-plate.json +1079 -0
- package/lib/labware/definitions/1/opentrons-aluminum-block-PCR-strips-200ul.json +1079 -0
- package/lib/labware/definitions/1/opentrons-tiprack-10ul.json +986 -0
- package/lib/labware/definitions/1/opentrons-tiprack-300ul.json +986 -0
- package/lib/labware/definitions/1/opentrons-tuberack-1.5ml-eppendorf.json +281 -0
- package/lib/labware/definitions/1/opentrons-tuberack-15_50ml.json +125 -0
- package/lib/labware/definitions/1/opentrons-tuberack-15ml.json +181 -0
- package/lib/labware/definitions/1/opentrons-tuberack-2ml-eppendorf.json +281 -0
- package/lib/labware/definitions/1/opentrons-tuberack-2ml-screwcap.json +281 -0
- package/lib/labware/definitions/1/opentrons-tuberack-50ml.json +80 -0
- package/lib/labware/definitions/1/point.json +18 -0
- package/lib/labware/definitions/1/rigaku-compact-crystallization-plate.json +2146 -0
- package/lib/labware/definitions/1/small_vial_rack_16x45.json +280 -0
- package/lib/labware/definitions/1/tall-fixed-trash.json +19 -0
- package/lib/labware/definitions/1/tiprack-1000ul-H.json +503 -0
- package/lib/labware/definitions/1/tiprack-1000ul-chem.json +1034 -0
- package/lib/labware/definitions/1/tiprack-1000ul.json +986 -0
- package/lib/labware/definitions/1/tiprack-10ul-H.json +503 -0
- package/lib/labware/definitions/1/tiprack-10ul.json +986 -0
- package/lib/labware/definitions/1/tiprack-200ul.json +986 -0
- package/lib/labware/definitions/1/trash-box.json +20 -0
- package/lib/labware/definitions/1/trough-12row-short.json +143 -0
- package/lib/labware/definitions/1/trough-12row.json +143 -0
- package/lib/labware/definitions/1/trough-1row-25ml.json +21 -0
- package/lib/labware/definitions/1/tube-rack-.75ml.json +281 -0
- package/lib/labware/definitions/1/tube-rack-15_50ml.json +125 -0
- package/lib/labware/definitions/1/tube-rack-2ml-9x9.json +911 -0
- package/lib/labware/definitions/1/tube-rack-2ml.json +281 -0
- package/lib/labware/definitions/1/tube-rack-5ml-96.json +1079 -0
- package/lib/labware/definitions/1/tube-rack-80well.json +907 -0
- package/lib/labware/definitions/1/wheaton_vial_rack.json +565 -0
- package/lib/labware/definitions/2/agilent_1_reservoir_290ml/1.json +54 -0
- package/lib/labware/definitions/2/appliedbiosystemsmicroamp_384_wellplate_40ul/1.json +4320 -0
- package/lib/labware/definitions/2/armadillo_96_wellplate_200ul_pcr_full_skirt/1.json +1019 -0
- package/lib/labware/definitions/2/armadillo_96_wellplate_200ul_pcr_full_skirt/2.json +1045 -0
- package/lib/labware/definitions/2/axygen_1_reservoir_90ml/1.json +56 -0
- package/lib/labware/definitions/2/biorad_384_wellplate_50ul/1.json +4329 -0
- package/lib/labware/definitions/2/biorad_384_wellplate_50ul/2.json +4331 -0
- package/lib/labware/definitions/2/biorad_96_wellplate_200ul_pcr/1.json +1020 -0
- package/lib/labware/definitions/2/biorad_96_wellplate_200ul_pcr/2.json +1046 -0
- package/lib/labware/definitions/2/corning_12_wellplate_6.9ml_flat/1.json +171 -0
- package/lib/labware/definitions/2/corning_12_wellplate_6.9ml_flat/2.json +180 -0
- package/lib/labware/definitions/2/corning_24_wellplate_3.4ml_flat/1.json +293 -0
- package/lib/labware/definitions/2/corning_24_wellplate_3.4ml_flat/2.json +300 -0
- package/lib/labware/definitions/2/corning_384_wellplate_112ul_flat/1.json +4703 -0
- package/lib/labware/definitions/2/corning_384_wellplate_112ul_flat/2.json +4717 -0
- package/lib/labware/definitions/2/corning_48_wellplate_1.6ml_flat/1.json +535 -0
- package/lib/labware/definitions/2/corning_48_wellplate_1.6ml_flat/2.json +544 -0
- package/lib/labware/definitions/2/corning_6_wellplate_16.8ml_flat/1.json +103 -0
- package/lib/labware/definitions/2/corning_6_wellplate_16.8ml_flat/2.json +110 -0
- package/lib/labware/definitions/2/corning_96_wellplate_360ul_flat/1.json +1049 -0
- package/lib/labware/definitions/2/corning_96_wellplate_360ul_flat/2.json +1063 -0
- package/lib/labware/definitions/2/eppendorf_96_tiprack_1000ul_eptips/1.json +1019 -0
- package/lib/labware/definitions/2/eppendorf_96_tiprack_10ul_eptips/1.json +1019 -0
- package/lib/labware/definitions/2/geb_96_tiprack_1000ul/1.json +1017 -0
- package/lib/labware/definitions/2/geb_96_tiprack_10ul/1.json +1017 -0
- package/lib/labware/definitions/2/nest_12_reservoir_15ml/1.json +190 -0
- package/lib/labware/definitions/2/nest_1_reservoir_195ml/1.json +54 -0
- package/lib/labware/definitions/2/nest_1_reservoir_195ml/2.json +56 -0
- package/lib/labware/definitions/2/nest_1_reservoir_290ml/1.json +54 -0
- package/lib/labware/definitions/2/nest_96_wellplate_100ul_pcr_full_skirt/1.json +1018 -0
- package/lib/labware/definitions/2/nest_96_wellplate_100ul_pcr_full_skirt/2.json +1039 -0
- package/lib/labware/definitions/2/nest_96_wellplate_200ul_flat/1.json +1017 -0
- package/lib/labware/definitions/2/nest_96_wellplate_200ul_flat/2.json +1031 -0
- package/lib/labware/definitions/2/nest_96_wellplate_2ml_deep/1.json +1121 -0
- package/lib/labware/definitions/2/nest_96_wellplate_2ml_deep/2.json +1137 -0
- package/lib/labware/definitions/2/opentrons_10_tuberack_falcon_4x50ml_6x15ml_conical/1.json +164 -0
- package/lib/labware/definitions/2/opentrons_10_tuberack_falcon_4x50ml_6x15ml_conical_acrylic/1.json +162 -0
- package/lib/labware/definitions/2/opentrons_10_tuberack_nest_4x50ml_6x15ml_conical/1.json +160 -0
- package/lib/labware/definitions/2/opentrons_15_tuberack_falcon_15ml_conical/1.json +211 -0
- package/lib/labware/definitions/2/opentrons_15_tuberack_nest_15ml_conical/1.json +209 -0
- package/lib/labware/definitions/2/opentrons_1_trash_1100ml_fixed/1.json +50 -0
- package/lib/labware/definitions/2/opentrons_1_trash_3200ml_fixed/1.json +50 -0
- package/lib/labware/definitions/2/opentrons_1_trash_850ml_fixed/1.json +50 -0
- package/lib/labware/definitions/2/opentrons_24_aluminumblock_generic_2ml_screwcap/1.json +300 -0
- package/lib/labware/definitions/2/opentrons_24_aluminumblock_generic_2ml_screwcap/2.json +301 -0
- package/lib/labware/definitions/2/opentrons_24_aluminumblock_nest_0.5ml_screwcap/1.json +299 -0
- package/lib/labware/definitions/2/opentrons_24_aluminumblock_nest_1.5ml_screwcap/1.json +299 -0
- package/lib/labware/definitions/2/opentrons_24_aluminumblock_nest_1.5ml_snapcap/1.json +301 -0
- package/lib/labware/definitions/2/opentrons_24_aluminumblock_nest_2ml_screwcap/1.json +299 -0
- package/lib/labware/definitions/2/opentrons_24_aluminumblock_nest_2ml_snapcap/1.json +301 -0
- package/lib/labware/definitions/2/opentrons_24_tuberack_eppendorf_1.5ml_safelock_snapcap/1.json +312 -0
- package/lib/labware/definitions/2/opentrons_24_tuberack_eppendorf_2ml_safelock_snapcap/1.json +311 -0
- package/lib/labware/definitions/2/opentrons_24_tuberack_eppendorf_2ml_safelock_snapcap_acrylic/1.json +309 -0
- package/lib/labware/definitions/2/opentrons_24_tuberack_generic_0.75ml_snapcap_acrylic/1.json +298 -0
- package/lib/labware/definitions/2/opentrons_24_tuberack_generic_2ml_screwcap/1.json +300 -0
- package/lib/labware/definitions/2/opentrons_24_tuberack_nest_0.5ml_screwcap/1.json +300 -0
- package/lib/labware/definitions/2/opentrons_24_tuberack_nest_1.5ml_screwcap/1.json +300 -0
- package/lib/labware/definitions/2/opentrons_24_tuberack_nest_1.5ml_snapcap/1.json +302 -0
- package/lib/labware/definitions/2/opentrons_24_tuberack_nest_2ml_screwcap/1.json +300 -0
- package/lib/labware/definitions/2/opentrons_24_tuberack_nest_2ml_snapcap/1.json +302 -0
- package/lib/labware/definitions/2/opentrons_40_aluminumblock_eppendorf_24x2ml_safelock_snapcap_generic_16x0.2ml_pcr_strip/1.json +481 -0
- package/lib/labware/definitions/2/opentrons_6_tuberack_falcon_50ml_conical/1.json +112 -0
- package/lib/labware/definitions/2/opentrons_6_tuberack_nest_50ml_conical/1.json +110 -0
- package/lib/labware/definitions/2/opentrons_96_aluminumblock_biorad_wellplate_200ul/1.json +1029 -0
- package/lib/labware/definitions/2/opentrons_96_aluminumblock_generic_pcr_strip_200ul/1.json +1026 -0
- package/lib/labware/definitions/2/opentrons_96_aluminumblock_generic_pcr_strip_200ul/2.json +1027 -0
- package/lib/labware/definitions/2/opentrons_96_aluminumblock_nest_wellplate_100ul/1.json +1027 -0
- package/lib/labware/definitions/2/opentrons_96_deep_well_adapter/1.json +41 -0
- package/lib/labware/definitions/2/opentrons_96_deep_well_adapter_nest_wellplate_2ml_deep/1.json +1121 -0
- package/lib/labware/definitions/2/opentrons_96_filtertiprack_1000ul/1.json +1017 -0
- package/lib/labware/definitions/2/opentrons_96_filtertiprack_10ul/1.json +1017 -0
- package/lib/labware/definitions/2/opentrons_96_filtertiprack_200ul/1.json +1017 -0
- package/lib/labware/definitions/2/opentrons_96_filtertiprack_20ul/1.json +1017 -0
- package/lib/labware/definitions/2/opentrons_96_flat_bottom_adapter/1.json +41 -0
- package/lib/labware/definitions/2/opentrons_96_flat_bottom_adapter_nest_wellplate_200ul_flat/1.json +1027 -0
- package/lib/labware/definitions/2/opentrons_96_pcr_adapter/1.json +1032 -0
- package/lib/labware/definitions/2/opentrons_96_pcr_adapter_armadillo_wellplate_200ul/1.json +1027 -0
- package/lib/labware/definitions/2/opentrons_96_pcr_adapter_nest_wellplate_100ul_pcr_full_skirt/1.json +1025 -0
- package/lib/labware/definitions/2/opentrons_96_tiprack_1000ul/1.json +1019 -0
- package/lib/labware/definitions/2/opentrons_96_tiprack_10ul/1.json +1019 -0
- package/lib/labware/definitions/2/opentrons_96_tiprack_20ul/1.json +1019 -0
- package/lib/labware/definitions/2/opentrons_96_tiprack_300ul/1.json +1019 -0
- package/lib/labware/definitions/2/opentrons_96_well_aluminum_block/1.json +1032 -0
- package/lib/labware/definitions/2/opentrons_96_wellplate_200ul_pcr_full_skirt/1.json +1019 -0
- package/lib/labware/definitions/2/opentrons_96_wellplate_200ul_pcr_full_skirt/2.json +1045 -0
- package/lib/labware/definitions/2/opentrons_aluminum_flat_bottom_plate/1.json +41 -0
- package/lib/labware/definitions/2/opentrons_calibration_adapter_heatershaker_module/1.json +62 -0
- package/lib/labware/definitions/2/opentrons_calibration_adapter_temperature_module/1.json +62 -0
- package/lib/labware/definitions/2/opentrons_calibration_adapter_thermocycler_module/1.json +69 -0
- package/lib/labware/definitions/2/opentrons_calibrationblock_short_side_left/1.json +71 -0
- package/lib/labware/definitions/2/opentrons_calibrationblock_short_side_right/1.json +71 -0
- package/lib/labware/definitions/2/opentrons_flex_96_filtertiprack_1000ul/1.json +1026 -0
- package/lib/labware/definitions/2/opentrons_flex_96_filtertiprack_200ul/1.json +1026 -0
- package/lib/labware/definitions/2/opentrons_flex_96_filtertiprack_50ul/1.json +1026 -0
- package/lib/labware/definitions/2/opentrons_flex_96_tiprack_1000ul/1.json +1026 -0
- package/lib/labware/definitions/2/opentrons_flex_96_tiprack_200ul/1.json +1026 -0
- package/lib/labware/definitions/2/opentrons_flex_96_tiprack_50ul/1.json +1026 -0
- package/lib/labware/definitions/2/opentrons_flex_96_tiprack_adapter/1.json +41 -0
- package/lib/labware/definitions/2/opentrons_universal_flat_adapter/1.json +151 -0
- package/lib/labware/definitions/2/opentrons_universal_flat_adapter_corning_384_wellplate_112ul_flat/1.json +4710 -0
- package/lib/labware/definitions/2/thermoscientificnunc_96_wellplate_1300ul/1.json +1019 -0
- package/lib/labware/definitions/2/thermoscientificnunc_96_wellplate_2000ul/1.json +1019 -0
- package/lib/labware/definitions/2/tipone_96_tiprack_200ul/1.json +1017 -0
- package/lib/labware/definitions/2/usascientific_12_reservoir_22ml/1.json +192 -0
- package/lib/labware/definitions/2/usascientific_96_wellplate_2.4ml_deep/1.json +1116 -0
- package/lib/labware/fixtures/1/fixture_tiprack.json +986 -0
- package/lib/labware/fixtures/2/fixture_12_trough.json +188 -0
- package/lib/labware/fixtures/2/fixture_12_trough_v2.json +188 -0
- package/lib/labware/fixtures/2/fixture_24_tuberack.json +295 -0
- package/lib/labware/fixtures/2/fixture_384_plate.json +4316 -0
- package/lib/labware/fixtures/2/fixture_96_plate.json +1015 -0
- package/lib/labware/fixtures/2/fixture_flex_96_tiprack_1000ul.json +1026 -0
- package/lib/labware/fixtures/2/fixture_flex_96_tiprack_adapter.json +41 -0
- package/lib/labware/fixtures/2/fixture_irregular_example_1.json +600 -0
- package/lib/labware/fixtures/2/fixture_overlappy_wellplate.json +1113 -0
- package/lib/labware/fixtures/2/fixture_regular_example_1.json +57 -0
- package/lib/labware/fixtures/2/fixture_regular_example_2.json +95 -0
- package/lib/labware/fixtures/2/fixture_tiprack_1000_ul.json +1015 -0
- package/lib/labware/fixtures/2/fixture_tiprack_10_ul.json +1015 -0
- package/lib/labware/fixtures/2/fixture_tiprack_300_ul.json +1014 -0
- package/lib/labware/fixtures/2/fixture_trash.json +50 -0
- package/lib/labware/schemas/2.json +372 -0
- package/lib/liquid/schemas/1.json +21 -0
- package/lib/liquid/types/index.d.ts +5 -0
- package/lib/module/definitions/1.json +57 -0
- package/lib/module/definitions/2/magneticModuleV1.json +22 -0
- package/lib/module/definitions/2/magneticModuleV2.json +69 -0
- package/lib/module/definitions/2/temperatureModuleV1.json +22 -0
- package/lib/module/definitions/2/temperatureModuleV2.json +69 -0
- package/lib/module/definitions/2/thermocyclerModuleV1.json +23 -0
- package/lib/module/definitions/3/heaterShakerModuleV1.json +529 -0
- package/lib/module/definitions/3/magneticBlockV1.json +199 -0
- package/lib/module/definitions/3/magneticModuleV1.json +435 -0
- package/lib/module/definitions/3/magneticModuleV2.json +488 -0
- package/lib/module/definitions/3/temperatureModuleV1.json +190 -0
- package/lib/module/definitions/3/temperatureModuleV2.json +323 -0
- package/lib/module/definitions/3/thermocyclerModuleV1.json +1380 -0
- package/lib/module/definitions/3/thermocyclerModuleV2.json +3686 -0
- package/lib/module/fixtures/3/compatibleGenerationV1.json +69 -0
- package/lib/module/fixtures/3/compatibleGenerationV2.json +69 -0
- package/lib/module/fixtures/3/incompatibleGenerationV1.json +22 -0
- package/lib/module/fixtures/3/incompatibleGenerationV2.json +69 -0
- package/lib/module/schemas/1.json +54 -0
- package/lib/module/schemas/2.json +112 -0
- package/lib/module/schemas/3.json +206 -0
- package/lib/opentrons-shared-data.js +1 -1
- package/lib/opentrons-shared-data.js.map +1 -1
- package/lib/pipette/definitions/1/pipetteModelSpecs.json +10314 -0
- package/lib/pipette/definitions/1/pipetteNameSpecs.json +694 -0
- package/lib/pipette/definitions/2/general/eight_channel/p10/1_0.json +59 -0
- package/lib/pipette/definitions/2/general/eight_channel/p10/1_3.json +59 -0
- package/lib/pipette/definitions/2/general/eight_channel/p10/1_4.json +59 -0
- package/lib/pipette/definitions/2/general/eight_channel/p10/1_5.json +59 -0
- package/lib/pipette/definitions/2/general/eight_channel/p10/1_6.json +59 -0
- package/lib/pipette/definitions/2/general/eight_channel/p1000/1_0.json +68 -0
- package/lib/pipette/definitions/2/general/eight_channel/p1000/3_0.json +68 -0
- package/lib/pipette/definitions/2/general/eight_channel/p1000/3_3.json +68 -0
- package/lib/pipette/definitions/2/general/eight_channel/p1000/3_4.json +68 -0
- package/lib/pipette/definitions/2/general/eight_channel/p1000/3_5.json +68 -0
- package/lib/pipette/definitions/2/general/eight_channel/p20/2_0.json +59 -0
- package/lib/pipette/definitions/2/general/eight_channel/p20/2_1.json +59 -0
- package/lib/pipette/definitions/2/general/eight_channel/p300/1_0.json +59 -0
- package/lib/pipette/definitions/2/general/eight_channel/p300/1_3.json +59 -0
- package/lib/pipette/definitions/2/general/eight_channel/p300/1_4.json +59 -0
- package/lib/pipette/definitions/2/general/eight_channel/p300/1_5.json +59 -0
- package/lib/pipette/definitions/2/general/eight_channel/p300/2_0.json +59 -0
- package/lib/pipette/definitions/2/general/eight_channel/p300/2_1.json +59 -0
- package/lib/pipette/definitions/2/general/eight_channel/p50/1_0.json +59 -0
- package/lib/pipette/definitions/2/general/eight_channel/p50/1_3.json +59 -0
- package/lib/pipette/definitions/2/general/eight_channel/p50/1_4.json +59 -0
- package/lib/pipette/definitions/2/general/eight_channel/p50/1_5.json +59 -0
- package/lib/pipette/definitions/2/general/eight_channel/p50/3_0.json +74 -0
- package/lib/pipette/definitions/2/general/eight_channel/p50/3_3.json +74 -0
- package/lib/pipette/definitions/2/general/eight_channel/p50/3_4.json +74 -0
- package/lib/pipette/definitions/2/general/eight_channel/p50/3_5.json +74 -0
- package/lib/pipette/definitions/2/general/ninety_six_channel/p1000/1_0.json +87 -0
- package/lib/pipette/definitions/2/general/ninety_six_channel/p1000/3_0.json +92 -0
- package/lib/pipette/definitions/2/general/ninety_six_channel/p1000/3_3.json +87 -0
- package/lib/pipette/definitions/2/general/ninety_six_channel/p1000/3_4.json +87 -0
- package/lib/pipette/definitions/2/general/ninety_six_channel/p1000/3_5.json +87 -0
- package/lib/pipette/definitions/2/general/single_channel/p10/1_0.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p10/1_3.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p10/1_4.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p10/1_5.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p1000/1_0.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p1000/1_3.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p1000/1_4.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p1000/1_5.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p1000/2_0.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p1000/2_1.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p1000/2_2.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p1000/3_0.json +61 -0
- package/lib/pipette/definitions/2/general/single_channel/p1000/3_3.json +61 -0
- package/lib/pipette/definitions/2/general/single_channel/p1000/3_4.json +61 -0
- package/lib/pipette/definitions/2/general/single_channel/p1000/3_5.json +61 -0
- package/lib/pipette/definitions/2/general/single_channel/p1000/3_6.json +61 -0
- package/lib/pipette/definitions/2/general/single_channel/p20/2_0.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p20/2_1.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p20/2_2.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p300/1_0.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p300/1_3.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p300/1_4.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p300/1_5.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p300/2_0.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p300/2_1.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p50/1_0.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p50/1_3.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p50/1_4.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p50/1_5.json +52 -0
- package/lib/pipette/definitions/2/general/single_channel/p50/3_0.json +67 -0
- package/lib/pipette/definitions/2/general/single_channel/p50/3_3.json +67 -0
- package/lib/pipette/definitions/2/general/single_channel/p50/3_4.json +67 -0
- package/lib/pipette/definitions/2/general/single_channel/p50/3_5.json +67 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p10/1_0.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p10/1_3.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p10/1_4.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p10/1_5.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p10/1_6.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p1000/1_0.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p1000/3_0.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p1000/3_3.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p1000/3_4.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p1000/3_5.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p20/2_0.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p20/2_1.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p300/1_0.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p300/1_3.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p300/1_4.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p300/1_5.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p300/2_0.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p300/2_1.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p50/1_0.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p50/1_3.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p50/1_4.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p50/1_5.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p50/3_0.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p50/3_3.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p50/3_4.json +37 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p50/3_5.json +37 -0
- package/lib/pipette/definitions/2/geometry/ninety_six_channel/p1000/1_0.json +291 -0
- package/lib/pipette/definitions/2/geometry/ninety_six_channel/p1000/3_0.json +291 -0
- package/lib/pipette/definitions/2/geometry/ninety_six_channel/p1000/3_3.json +291 -0
- package/lib/pipette/definitions/2/geometry/ninety_six_channel/p1000/3_4.json +291 -0
- package/lib/pipette/definitions/2/geometry/ninety_six_channel/p1000/3_5.json +291 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p10/1_0.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p10/1_3.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p10/1_4.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p10/1_5.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p1000/1_0.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p1000/1_3.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p1000/1_4.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p1000/1_5.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p1000/2_0.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p1000/2_1.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p1000/2_2.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p1000/3_0.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p1000/3_3.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p1000/3_4.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p1000/3_5.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p1000/3_6.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p20/2_0.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p20/2_1.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p20/2_2.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p300/1_0.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p300/1_3.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p300/1_4.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p300/1_5.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p300/2_0.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p300/2_1.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p50/1_0.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p50/1_3.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p50/1_4.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p50/1_5.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p50/3_0.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p50/3_3.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p50/3_4.json +10 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p50/3_5.json +10 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p10/default/1_0.json +58 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p10/default/1_3.json +58 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p10/default/1_4.json +58 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p10/default/1_5.json +47 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p10/default/1_6.json +55 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p1000/default/1_0.json +356 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p1000/default/3_0.json +359 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p1000/default/3_3.json +359 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p1000/default/3_4.json +359 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p1000/default/3_5.json +239 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p20/default/2_0.json +311 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p20/default/2_1.json +191 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p300/default/1_0.json +67 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p300/default/1_3.json +67 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p300/default/1_4.json +67 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p300/default/1_5.json +67 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p300/default/2_0.json +190 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p300/default/2_1.json +190 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p50/default/1_0.json +128 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p50/default/1_3.json +128 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p50/default/1_4.json +128 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p50/default/1_5.json +110 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p50/default/3_0.json +99 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p50/default/3_3.json +99 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p50/default/3_4.json +99 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p50/default/3_5.json +91 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p50/lowVolumeDefault/3_0.json +94 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p50/lowVolumeDefault/3_3.json +89 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p50/lowVolumeDefault/3_4.json +89 -0
- package/lib/pipette/definitions/2/liquid/eight_channel/p50/lowVolumeDefault/3_5.json +89 -0
- package/lib/pipette/definitions/2/liquid/ninety_six_channel/p1000/default/1_0.json +188 -0
- package/lib/pipette/definitions/2/liquid/ninety_six_channel/p1000/default/3_0.json +188 -0
- package/lib/pipette/definitions/2/liquid/ninety_six_channel/p1000/default/3_3.json +188 -0
- package/lib/pipette/definitions/2/liquid/ninety_six_channel/p1000/default/3_4.json +188 -0
- package/lib/pipette/definitions/2/liquid/ninety_six_channel/p1000/default/3_5.json +188 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p10/default/1_0.json +59 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p10/default/1_3.json +59 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p10/default/1_4.json +56 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p10/default/1_5.json +54 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p1000/default/1_0.json +48 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p1000/default/1_3.json +48 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p1000/default/1_4.json +48 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p1000/default/1_5.json +48 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p1000/default/2_0.json +105 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p1000/default/2_1.json +107 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p1000/default/2_2.json +107 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p1000/default/3_0.json +356 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p1000/default/3_3.json +356 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p1000/default/3_4.json +282 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p1000/default/3_5.json +204 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p1000/default/3_6.json +204 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p20/default/2_0.json +431 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p20/default/2_1.json +251 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p20/default/2_2.json +311 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p300/default/1_0.json +99 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p300/default/1_3.json +99 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p300/default/1_4.json +99 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p300/default/1_5.json +75 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p300/default/2_0.json +188 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p300/default/2_1.json +188 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p50/default/1_0.json +119 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p50/default/1_3.json +128 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p50/default/1_4.json +128 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p50/default/1_5.json +104 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p50/default/3_0.json +98 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p50/default/3_3.json +98 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p50/default/3_4.json +100 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p50/default/3_5.json +80 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p50/lowVolumeDefault/3_0.json +78 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p50/lowVolumeDefault/3_3.json +78 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p50/lowVolumeDefault/3_4.json +78 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p50/lowVolumeDefault/3_5.json +76 -0
- package/lib/pipette/fixtures/name/pipetteNameSpecFixtures.json +170 -0
- package/lib/pipette/schemas/1/pipetteModelSpecsSchema.json +153 -0
- package/lib/pipette/schemas/1/pipetteNameSpecsSchema.json +89 -0
- package/lib/pipette/schemas/2/pipetteGeometrySchema.json +81 -0
- package/lib/pipette/schemas/2/pipetteLiquidPropertiesSchema.json +120 -0
- package/lib/pipette/schemas/2/pipettePropertiesSchema.json +287 -0
- package/lib/protocol/fixtures/1/simple.json +73 -0
- package/lib/protocol/fixtures/3/simple.json +1307 -0
- package/lib/protocol/fixtures/3/testAllAtomicSingleV3.json +2281 -0
- package/lib/protocol/fixtures/3/testTrickyLabwareV3.json +2576 -0
- package/lib/protocol/fixtures/3/unusedPipette.json +1311 -0
- package/lib/protocol/fixtures/4/pipetteMultiChannelProtocolV4.json +2561 -0
- package/lib/protocol/fixtures/4/simpleV4.json +1309 -0
- package/lib/protocol/fixtures/4/testMagneticModuleV4.json +2156 -0
- package/lib/protocol/fixtures/4/testModulesProtocol.json +2561 -0
- package/lib/protocol/fixtures/4/testTemperatureModuleV4.json +1480 -0
- package/lib/protocol/fixtures/4/testThermocyclerModuleV4.json +2182 -0
- package/lib/protocol/fixtures/4/transferSettings.json +5482 -0
- package/lib/protocol/fixtures/5/multipleTipracks.json +2476 -0
- package/lib/protocol/fixtures/5/multipleTipracksWithTC.json +3544 -0
- package/lib/protocol/fixtures/5/simpleV5.json +1328 -0
- package/lib/protocol/fixtures/6/heaterShakerCommands.json +1421 -0
- package/lib/protocol/fixtures/6/heaterShakerCommandsWithResultsKey.json +4725 -0
- package/lib/protocol/fixtures/6/multipleTempModules.json +11060 -0
- package/lib/protocol/fixtures/6/multipleTipracks.json +5020 -0
- package/lib/protocol/fixtures/6/multipleTipracksWithTC.json +7057 -0
- package/lib/protocol/fixtures/6/oneTiprack.json +1388 -0
- package/lib/protocol/fixtures/6/simpleV6.json +1493 -0
- package/lib/protocol/fixtures/6/tempAndMagModuleCommands.json +1412 -0
- package/lib/protocol/fixtures/6/transferSettings.json +11060 -0
- package/lib/protocol/fixtures/7/moveLabware.json +1303 -0
- package/lib/protocol/fixtures/7/simpleV7.json +1495 -0
- package/lib/protocol/fixtures/8/moveLabware8.json +1309 -0
- package/lib/protocol/fixtures/8/moveLabwareFlex8.json +1309 -0
- package/lib/protocol/fixtures/8/simpleFlexV8.json +1475 -0
- package/lib/protocol/fixtures/8/simpleV8.json +1473 -0
- package/lib/protocol/index.d.ts +10 -0
- package/lib/protocol/schemas/1.json +365 -0
- package/lib/protocol/schemas/2.json +390 -0
- package/lib/protocol/schemas/3.json +336 -0
- package/lib/protocol/schemas/4.json +620 -0
- package/lib/protocol/schemas/5.json +658 -0
- package/lib/protocol/schemas/6.json +1166 -0
- package/lib/protocol/schemas/7.json +270 -0
- package/lib/protocol/schemas/8.json +141 -0
- package/lib/protocol/types/schemaV1.d.ts +89 -0
- package/lib/protocol/types/schemaV3.d.ts +100 -0
- package/lib/protocol/types/schemaV4.d.ts +102 -0
- package/lib/protocol/types/schemaV5.d.ts +24 -0
- package/lib/protocol/types/schemaV5Addendum.d.ts +13 -0
- package/lib/protocol/types/schemaV6/command/gantry.d.ts +110 -0
- package/lib/protocol/types/schemaV6/command/index.d.ts +46 -0
- package/lib/protocol/types/schemaV6/command/module.d.ts +187 -0
- package/lib/protocol/types/schemaV6/command/pipetting.d.ts +75 -0
- package/lib/protocol/types/schemaV6/command/setup.d.ts +96 -0
- package/lib/protocol/types/schemaV6/command/timing.d.ts +39 -0
- package/lib/protocol/types/schemaV6/index.d.ts +110 -0
- package/lib/protocol/types/schemaV7/command/annotation.d.ts +24 -0
- package/lib/protocol/types/schemaV7/command/calibration.d.ts +58 -0
- package/lib/protocol/types/schemaV7/command/gantry.d.ts +111 -0
- package/lib/protocol/types/schemaV7/command/incidental.d.ts +15 -0
- package/lib/protocol/types/schemaV7/command/index.d.ts +40 -0
- package/lib/protocol/types/schemaV7/command/module.d.ts +191 -0
- package/lib/protocol/types/schemaV7/command/pipetting.d.ts +119 -0
- package/lib/protocol/types/schemaV7/command/setup.d.ts +108 -0
- package/lib/protocol/types/schemaV7/command/timing.d.ts +39 -0
- package/lib/protocol/types/schemaV7/index.d.ts +94 -0
- package/lib/protocol/types/schemaV8/index.d.ts +126 -0
- package/package.json +1 -1
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { MOVABLE_TRASH_A3_ADDRESSABLE_AREA } from '../constants'
|
|
2
|
+
import { getAddressableAreaFromSlotId } from '../fixtures'
|
|
3
|
+
import type { AddressableAreaName } from '../../deck'
|
|
4
|
+
import type { ProtocolAnalysisOutput } from '../../protocol'
|
|
5
|
+
import type { CompletedProtocolAnalysis, DeckDefinition } from '../types'
|
|
6
|
+
|
|
7
|
+
export function getAddressableAreasInProtocol(
|
|
8
|
+
protocolAnalysis: CompletedProtocolAnalysis | ProtocolAnalysisOutput,
|
|
9
|
+
deckDef: DeckDefinition
|
|
10
|
+
): AddressableAreaName[] {
|
|
11
|
+
const { commands, labware } = protocolAnalysis
|
|
12
|
+
|
|
13
|
+
const addressableAreasFromCommands = commands.reduce<AddressableAreaName[]>(
|
|
14
|
+
(acc, command) => {
|
|
15
|
+
if (
|
|
16
|
+
command.commandType === 'moveLabware' &&
|
|
17
|
+
command.params.newLocation !== 'offDeck' &&
|
|
18
|
+
'slotName' in command.params.newLocation &&
|
|
19
|
+
!acc.includes(
|
|
20
|
+
command.params.newLocation.slotName as AddressableAreaName
|
|
21
|
+
)
|
|
22
|
+
) {
|
|
23
|
+
const addressableAreaName = getAddressableAreaFromSlotId(
|
|
24
|
+
command.params.newLocation.slotName,
|
|
25
|
+
deckDef
|
|
26
|
+
)?.id
|
|
27
|
+
|
|
28
|
+
if (addressableAreaName == null) {
|
|
29
|
+
return acc
|
|
30
|
+
} else {
|
|
31
|
+
return [...acc, addressableAreaName]
|
|
32
|
+
}
|
|
33
|
+
} else if (
|
|
34
|
+
command.commandType === 'moveLabware' &&
|
|
35
|
+
command.params.newLocation !== 'offDeck' &&
|
|
36
|
+
'addressableAreaName' in command.params.newLocation &&
|
|
37
|
+
!acc.includes(command.params.newLocation.addressableAreaName)
|
|
38
|
+
) {
|
|
39
|
+
return [...acc, command.params.newLocation.addressableAreaName]
|
|
40
|
+
} else if (
|
|
41
|
+
(command.commandType === 'loadLabware' ||
|
|
42
|
+
command.commandType === 'loadModule') &&
|
|
43
|
+
command.params.location !== 'offDeck' &&
|
|
44
|
+
'slotName' in command.params.location &&
|
|
45
|
+
!acc.includes(command.params.location.slotName as AddressableAreaName)
|
|
46
|
+
) {
|
|
47
|
+
const addressableAreaName = getAddressableAreaFromSlotId(
|
|
48
|
+
command.params.location.slotName,
|
|
49
|
+
deckDef
|
|
50
|
+
)?.id
|
|
51
|
+
|
|
52
|
+
// do not add addressable area name for legacy trash labware
|
|
53
|
+
if (
|
|
54
|
+
addressableAreaName == null ||
|
|
55
|
+
('loadName' in command.params &&
|
|
56
|
+
command.params.loadName === 'opentrons_1_trash_3200ml_fixed')
|
|
57
|
+
) {
|
|
58
|
+
return acc
|
|
59
|
+
} else {
|
|
60
|
+
return [...acc, addressableAreaName]
|
|
61
|
+
}
|
|
62
|
+
} else if (
|
|
63
|
+
command.commandType === 'loadLabware' &&
|
|
64
|
+
command.params.location !== 'offDeck' &&
|
|
65
|
+
'addressableAreaName' in command.params.location &&
|
|
66
|
+
!acc.includes(command.params.location.addressableAreaName)
|
|
67
|
+
) {
|
|
68
|
+
return [...acc, command.params.location.addressableAreaName]
|
|
69
|
+
} else if (
|
|
70
|
+
command.commandType === 'moveToAddressableArea' &&
|
|
71
|
+
!acc.includes(command.params.addressableAreaName)
|
|
72
|
+
) {
|
|
73
|
+
return [...acc, command.params.addressableAreaName]
|
|
74
|
+
} else if (
|
|
75
|
+
command.commandType === 'moveToAddressableAreaForDropTip' &&
|
|
76
|
+
!acc.includes(command.params.addressableAreaName)
|
|
77
|
+
) {
|
|
78
|
+
return [...acc, command.params.addressableAreaName]
|
|
79
|
+
} else {
|
|
80
|
+
return acc
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
[]
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
// special-case the Flex trash labware load name in A3 for back compatibility with the legacy fixed trash load labware command
|
|
87
|
+
const legacyTrashAddressableArea = labware.some(
|
|
88
|
+
({ loadName, location }) =>
|
|
89
|
+
loadName === 'opentrons_1_trash_3200ml_fixed' &&
|
|
90
|
+
location !== 'offDeck' &&
|
|
91
|
+
'slotName' in location &&
|
|
92
|
+
location.slotName === 'A3'
|
|
93
|
+
)
|
|
94
|
+
? MOVABLE_TRASH_A3_ADDRESSABLE_AREA
|
|
95
|
+
: []
|
|
96
|
+
|
|
97
|
+
return addressableAreasFromCommands.concat(legacyTrashAddressableArea)
|
|
98
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { getLabwareDefURI } from '.'
|
|
2
|
+
import type { RunTimeCommand, LabwareDefinition2 } from '..'
|
|
3
|
+
|
|
4
|
+
export interface LabwareDefinitionsByUri {
|
|
5
|
+
[defURI: string]: LabwareDefinition2
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export function getLoadedLabwareDefinitionsByUri(
|
|
9
|
+
commands: RunTimeCommand[]
|
|
10
|
+
): LabwareDefinitionsByUri {
|
|
11
|
+
return commands.reduce((acc, command) => {
|
|
12
|
+
if (command.commandType === 'loadLabware') {
|
|
13
|
+
const labwareDef: LabwareDefinition2 | undefined =
|
|
14
|
+
command.result?.definition
|
|
15
|
+
if (labwareDef == null) {
|
|
16
|
+
console.warn(
|
|
17
|
+
`could not find a labware definition in the results of load labware command: ${JSON.stringify(
|
|
18
|
+
command
|
|
19
|
+
)}`
|
|
20
|
+
)
|
|
21
|
+
return acc
|
|
22
|
+
} else {
|
|
23
|
+
const definitionUri = getLabwareDefURI(labwareDef)
|
|
24
|
+
return { ...acc, [definitionUri]: labwareDef }
|
|
25
|
+
}
|
|
26
|
+
} else {
|
|
27
|
+
return acc
|
|
28
|
+
}
|
|
29
|
+
}, {})
|
|
30
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
// NOTE: Ian 2019-10-24 these are by-eye numbers that intentionally
|
|
2
|
+
// ignore the real-life data to emphasize overhangs etc
|
|
3
|
+
import {
|
|
4
|
+
MAGNETIC_MODULE_TYPE,
|
|
5
|
+
TEMPERATURE_MODULE_TYPE,
|
|
6
|
+
THERMOCYCLER_MODULE_TYPE,
|
|
7
|
+
HEATERSHAKER_MODULE_TYPE,
|
|
8
|
+
STD_SLOT_X_DIM as SLOT_X,
|
|
9
|
+
STD_SLOT_Y_DIM as SLOT_Y,
|
|
10
|
+
STD_SLOT_DIVIDER_WIDTH as DIVIDER,
|
|
11
|
+
SPAN7_8_10_11_SLOT,
|
|
12
|
+
MAGNETIC_BLOCK_TYPE,
|
|
13
|
+
} from '../constants'
|
|
14
|
+
import { ModuleType, ModuleOrientation } from '../types'
|
|
15
|
+
// NOTE: all dims are in 'left' orientation. Rotate & transform to obtain 'right' orientation.
|
|
16
|
+
|
|
17
|
+
export interface ModuleVizDims {
|
|
18
|
+
xOffset: number
|
|
19
|
+
yOffset: number
|
|
20
|
+
xDimension: number
|
|
21
|
+
yDimension: number
|
|
22
|
+
childXOffset: number
|
|
23
|
+
childYOffset: number
|
|
24
|
+
childXDimension: number
|
|
25
|
+
childYDimension: number
|
|
26
|
+
}
|
|
27
|
+
const MODULE_VIZ_DIMS: Record<ModuleType, ModuleVizDims> = {
|
|
28
|
+
[MAGNETIC_MODULE_TYPE]: {
|
|
29
|
+
xOffset: -1 * (SLOT_X * 0.2 + DIVIDER),
|
|
30
|
+
yOffset: -1 * DIVIDER,
|
|
31
|
+
xDimension: SLOT_X * 1.2 + DIVIDER * 2,
|
|
32
|
+
yDimension: SLOT_Y + DIVIDER * 2,
|
|
33
|
+
childXOffset: 0,
|
|
34
|
+
childYOffset: 0,
|
|
35
|
+
childXDimension: SLOT_X,
|
|
36
|
+
childYDimension: SLOT_Y,
|
|
37
|
+
},
|
|
38
|
+
[TEMPERATURE_MODULE_TYPE]: {
|
|
39
|
+
xOffset: -1 * (SLOT_X * 0.4 + DIVIDER),
|
|
40
|
+
yOffset: -1 * DIVIDER,
|
|
41
|
+
xDimension: SLOT_X * 1.4 + DIVIDER * 2,
|
|
42
|
+
yDimension: SLOT_Y + DIVIDER * 2,
|
|
43
|
+
childXOffset: 0,
|
|
44
|
+
childYOffset: 0,
|
|
45
|
+
childXDimension: SLOT_X,
|
|
46
|
+
childYDimension: SLOT_Y,
|
|
47
|
+
},
|
|
48
|
+
[THERMOCYCLER_MODULE_TYPE]: {
|
|
49
|
+
xOffset: -8,
|
|
50
|
+
yOffset: 0,
|
|
51
|
+
xDimension: SLOT_X + DIVIDER + 32,
|
|
52
|
+
yDimension: SLOT_Y * 2.4,
|
|
53
|
+
childXOffset: 12,
|
|
54
|
+
childYOffset: SLOT_Y,
|
|
55
|
+
childXDimension: SLOT_X,
|
|
56
|
+
childYDimension: SLOT_Y,
|
|
57
|
+
},
|
|
58
|
+
// TODO(sh, 2022-02-28): This is stubbed out using magdeck dimensions, all of this logic should be deprecated
|
|
59
|
+
[HEATERSHAKER_MODULE_TYPE]: {
|
|
60
|
+
xOffset: -1 * (SLOT_X * 0.2 + DIVIDER),
|
|
61
|
+
yOffset: -1 * DIVIDER,
|
|
62
|
+
xDimension: SLOT_X * 1.2 + DIVIDER * 2,
|
|
63
|
+
yDimension: SLOT_Y + DIVIDER * 2,
|
|
64
|
+
childXOffset: 0,
|
|
65
|
+
childYOffset: 0,
|
|
66
|
+
childXDimension: SLOT_X,
|
|
67
|
+
childYDimension: SLOT_Y,
|
|
68
|
+
},
|
|
69
|
+
// TODO(sh, 2022-02-28): This is stubbed out using magdeck dimensions, all of this logic should be deprecated
|
|
70
|
+
[MAGNETIC_BLOCK_TYPE]: {
|
|
71
|
+
xOffset: -1 * (SLOT_X * 0.2 + DIVIDER),
|
|
72
|
+
yOffset: -1 * DIVIDER,
|
|
73
|
+
xDimension: SLOT_X * 1.2 + DIVIDER * 2,
|
|
74
|
+
yDimension: SLOT_Y + DIVIDER * 2,
|
|
75
|
+
childXOffset: 0,
|
|
76
|
+
childYOffset: 0,
|
|
77
|
+
childXDimension: SLOT_X,
|
|
78
|
+
childYDimension: SLOT_Y,
|
|
79
|
+
},
|
|
80
|
+
}
|
|
81
|
+
export const getModuleVizDims = (
|
|
82
|
+
orientation: ModuleOrientation,
|
|
83
|
+
moduleType: ModuleType
|
|
84
|
+
): ModuleVizDims => {
|
|
85
|
+
const dims = MODULE_VIZ_DIMS[moduleType]
|
|
86
|
+
if (orientation === 'left') return dims
|
|
87
|
+
// if orientation is 'right', get origins by rotating 180 about slot center
|
|
88
|
+
return {
|
|
89
|
+
...dims,
|
|
90
|
+
xOffset: SLOT_X - dims.xOffset - dims.xDimension,
|
|
91
|
+
yOffset: SLOT_Y - dims.yOffset - dims.yDimension,
|
|
92
|
+
childXOffset: SLOT_X - dims.childXOffset - dims.childXDimension,
|
|
93
|
+
childYOffset: SLOT_Y - dims.childYOffset - dims.childYDimension,
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
type DeckSlot = string
|
|
97
|
+
const LEFT_SIDE_SLOTS: DeckSlot[] = ['1', '4', '7', '10', SPAN7_8_10_11_SLOT]
|
|
98
|
+
export const inferModuleOrientationFromSlot = (
|
|
99
|
+
slot: DeckSlot
|
|
100
|
+
): ModuleOrientation => {
|
|
101
|
+
// NOTE: defaults to 'left' even for center slots and spanning slots.
|
|
102
|
+
// That's consistent with non-rotatable modules (thermocycler) being
|
|
103
|
+
// considered as 'left' all the time, like we do in MODULE_VIZ_DIMS.
|
|
104
|
+
if (!LEFT_SIDE_SLOTS.includes(slot)) {
|
|
105
|
+
return 'right'
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
return 'left'
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export const inferModuleOrientationFromXCoordinate = (
|
|
112
|
+
xCoordinate: number
|
|
113
|
+
): ModuleOrientation => {
|
|
114
|
+
if (xCoordinate === 0) {
|
|
115
|
+
return 'left'
|
|
116
|
+
}
|
|
117
|
+
return 'right'
|
|
118
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OT2_ROBOT_TYPE, THERMOCYCLER_MODULE_TYPE } from '..'
|
|
2
|
+
import type { ModuleType, RobotType } from '..'
|
|
3
|
+
|
|
4
|
+
export function getOccludedSlotCountForModule(
|
|
5
|
+
moduleType: ModuleType,
|
|
6
|
+
robotType: RobotType
|
|
7
|
+
): number {
|
|
8
|
+
if (moduleType === THERMOCYCLER_MODULE_TYPE) {
|
|
9
|
+
return robotType === OT2_ROBOT_TYPE ? 4 : 2
|
|
10
|
+
} else {
|
|
11
|
+
return 1
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { FLEX_ROBOT_TYPE } from '../constants'
|
|
2
|
+
import { getAddressableAreaFromSlotId } from '../fixtures'
|
|
3
|
+
import { getAddressableAreasInProtocol, getDeckDefFromRobotType } from '.'
|
|
4
|
+
|
|
5
|
+
import type { AddressableAreaName, CutoutId } from '../../deck'
|
|
6
|
+
import type { ProtocolAnalysisOutput } from '../../protocol'
|
|
7
|
+
import type {
|
|
8
|
+
CutoutConfig,
|
|
9
|
+
CutoutFixture,
|
|
10
|
+
DeckDefinition,
|
|
11
|
+
DeckConfiguration,
|
|
12
|
+
CompletedProtocolAnalysis,
|
|
13
|
+
} from '../types'
|
|
14
|
+
|
|
15
|
+
export interface CutoutConfigProtocolSpec extends CutoutConfig {
|
|
16
|
+
requiredAddressableAreas: AddressableAreaName[]
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const FLEX_SIMPLEST_DECK_CONFIG: DeckConfiguration = [
|
|
20
|
+
{ cutoutId: 'cutoutA1', cutoutFixtureId: 'singleLeftSlot' },
|
|
21
|
+
{ cutoutId: 'cutoutB1', cutoutFixtureId: 'singleLeftSlot' },
|
|
22
|
+
{ cutoutId: 'cutoutC1', cutoutFixtureId: 'singleLeftSlot' },
|
|
23
|
+
{ cutoutId: 'cutoutD1', cutoutFixtureId: 'singleLeftSlot' },
|
|
24
|
+
{ cutoutId: 'cutoutA2', cutoutFixtureId: 'singleCenterSlot' },
|
|
25
|
+
{ cutoutId: 'cutoutB2', cutoutFixtureId: 'singleCenterSlot' },
|
|
26
|
+
{ cutoutId: 'cutoutC2', cutoutFixtureId: 'singleCenterSlot' },
|
|
27
|
+
{ cutoutId: 'cutoutD2', cutoutFixtureId: 'singleCenterSlot' },
|
|
28
|
+
{ cutoutId: 'cutoutA3', cutoutFixtureId: 'singleRightSlot' },
|
|
29
|
+
{ cutoutId: 'cutoutB3', cutoutFixtureId: 'singleRightSlot' },
|
|
30
|
+
{ cutoutId: 'cutoutC3', cutoutFixtureId: 'singleRightSlot' },
|
|
31
|
+
{ cutoutId: 'cutoutD3', cutoutFixtureId: 'singleRightSlot' },
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
export const FLEX_SIMPLEST_DECK_CONFIG_PROTOCOL_SPEC: CutoutConfigProtocolSpec[] = FLEX_SIMPLEST_DECK_CONFIG.map(
|
|
35
|
+
config => ({ ...config, requiredAddressableAreas: [] })
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
export function getSimplestDeckConfigForProtocol(
|
|
39
|
+
protocolAnalysis: CompletedProtocolAnalysis | ProtocolAnalysisOutput | null
|
|
40
|
+
): CutoutConfigProtocolSpec[] {
|
|
41
|
+
// TODO(BC, 2023-11-06): abstract out the robot type
|
|
42
|
+
const deckDef = getDeckDefFromRobotType(FLEX_ROBOT_TYPE)
|
|
43
|
+
|
|
44
|
+
const addressableAreas =
|
|
45
|
+
protocolAnalysis != null
|
|
46
|
+
? getAddressableAreasInProtocol(protocolAnalysis, deckDef)
|
|
47
|
+
: []
|
|
48
|
+
const simplestDeckConfig = addressableAreas.reduce<
|
|
49
|
+
CutoutConfigProtocolSpec[]
|
|
50
|
+
>((acc, addressableArea) => {
|
|
51
|
+
const cutoutFixturesForAddressableArea = getCutoutFixturesForAddressableAreas(
|
|
52
|
+
[addressableArea],
|
|
53
|
+
deckDef.cutoutFixtures
|
|
54
|
+
)
|
|
55
|
+
const cutoutIdForAddressableArea = getCutoutIdForAddressableArea(
|
|
56
|
+
addressableArea,
|
|
57
|
+
cutoutFixturesForAddressableArea
|
|
58
|
+
)
|
|
59
|
+
const cutoutFixturesForCutoutId =
|
|
60
|
+
cutoutIdForAddressableArea != null
|
|
61
|
+
? getCutoutFixturesForCutoutId(
|
|
62
|
+
cutoutIdForAddressableArea,
|
|
63
|
+
deckDef.cutoutFixtures
|
|
64
|
+
)
|
|
65
|
+
: null
|
|
66
|
+
|
|
67
|
+
const existingCutoutConfig = acc.find(
|
|
68
|
+
cutoutConfig => cutoutConfig.cutoutId === cutoutIdForAddressableArea
|
|
69
|
+
)
|
|
70
|
+
|
|
71
|
+
if (
|
|
72
|
+
existingCutoutConfig != null &&
|
|
73
|
+
cutoutFixturesForCutoutId != null &&
|
|
74
|
+
cutoutIdForAddressableArea != null
|
|
75
|
+
) {
|
|
76
|
+
const indexOfExistingFixture = cutoutFixturesForCutoutId.findIndex(
|
|
77
|
+
({ id }) => id === existingCutoutConfig.cutoutFixtureId
|
|
78
|
+
)
|
|
79
|
+
const accIndex = acc.findIndex(
|
|
80
|
+
({ cutoutId }) => cutoutId === cutoutIdForAddressableArea
|
|
81
|
+
)
|
|
82
|
+
const previousRequiredAAs = acc[accIndex]?.requiredAddressableAreas
|
|
83
|
+
const allNextRequiredAddressableAreas = previousRequiredAAs.includes(
|
|
84
|
+
addressableArea
|
|
85
|
+
)
|
|
86
|
+
? previousRequiredAAs
|
|
87
|
+
: [...previousRequiredAAs, addressableArea]
|
|
88
|
+
const nextCompatibleCutoutFixture = getSimplestFixtureForAddressableAreas(
|
|
89
|
+
cutoutIdForAddressableArea,
|
|
90
|
+
allNextRequiredAddressableAreas,
|
|
91
|
+
cutoutFixturesForCutoutId
|
|
92
|
+
)
|
|
93
|
+
const indexOfCurrentFixture = cutoutFixturesForCutoutId.findIndex(
|
|
94
|
+
({ id }) => id === nextCompatibleCutoutFixture?.id
|
|
95
|
+
)
|
|
96
|
+
|
|
97
|
+
if (
|
|
98
|
+
nextCompatibleCutoutFixture != null &&
|
|
99
|
+
indexOfCurrentFixture > indexOfExistingFixture
|
|
100
|
+
) {
|
|
101
|
+
return [
|
|
102
|
+
...acc.slice(0, accIndex),
|
|
103
|
+
{
|
|
104
|
+
cutoutId: cutoutIdForAddressableArea,
|
|
105
|
+
cutoutFixtureId: nextCompatibleCutoutFixture.id,
|
|
106
|
+
requiredAddressableAreas: allNextRequiredAddressableAreas,
|
|
107
|
+
},
|
|
108
|
+
...acc.slice(accIndex + 1),
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
return acc
|
|
113
|
+
}, FLEX_SIMPLEST_DECK_CONFIG_PROTOCOL_SPEC)
|
|
114
|
+
|
|
115
|
+
return simplestDeckConfig
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export function getCutoutFixturesForAddressableAreas(
|
|
119
|
+
addressableAreas: AddressableAreaName[],
|
|
120
|
+
cutoutFixtures: CutoutFixture[]
|
|
121
|
+
): CutoutFixture[] {
|
|
122
|
+
return cutoutFixtures.filter(cutoutFixture =>
|
|
123
|
+
Object.values(cutoutFixture.providesAddressableAreas).some(providedAAs =>
|
|
124
|
+
addressableAreas.every(aa => providedAAs.includes(aa))
|
|
125
|
+
)
|
|
126
|
+
)
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export function getCutoutFixturesForCutoutId(
|
|
130
|
+
cutoutId: CutoutId,
|
|
131
|
+
cutoutFixtures: CutoutFixture[]
|
|
132
|
+
): CutoutFixture[] {
|
|
133
|
+
return cutoutFixtures.filter(cutoutFixture =>
|
|
134
|
+
cutoutFixture.mayMountTo.some(mayMountTo => mayMountTo.includes(cutoutId))
|
|
135
|
+
)
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export function getCutoutIdForSlotName(
|
|
139
|
+
slotName: string,
|
|
140
|
+
deckDef: DeckDefinition
|
|
141
|
+
): CutoutId | null {
|
|
142
|
+
const addressableArea = getAddressableAreaFromSlotId(slotName, deckDef)
|
|
143
|
+
const cutoutIdForSlotName =
|
|
144
|
+
addressableArea != null
|
|
145
|
+
? getCutoutIdForAddressableArea(
|
|
146
|
+
addressableArea.id,
|
|
147
|
+
deckDef.cutoutFixtures
|
|
148
|
+
)
|
|
149
|
+
: null
|
|
150
|
+
|
|
151
|
+
return cutoutIdForSlotName
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export function getCutoutIdForAddressableArea(
|
|
155
|
+
addressableArea: AddressableAreaName,
|
|
156
|
+
cutoutFixtures: CutoutFixture[]
|
|
157
|
+
): CutoutId | null {
|
|
158
|
+
return cutoutFixtures.reduce<CutoutId | null>((acc, cutoutFixture) => {
|
|
159
|
+
const [cutoutId] =
|
|
160
|
+
Object.entries(
|
|
161
|
+
cutoutFixture.providesAddressableAreas
|
|
162
|
+
).find(([_cutoutId, providedAAs]) =>
|
|
163
|
+
providedAAs.includes(addressableArea)
|
|
164
|
+
) ?? []
|
|
165
|
+
return (cutoutId as CutoutId) ?? acc
|
|
166
|
+
}, null)
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export function getSimplestFixtureForAddressableAreas(
|
|
170
|
+
cutoutId: CutoutId,
|
|
171
|
+
requiredAddressableAreas: AddressableAreaName[],
|
|
172
|
+
allCutoutFixtures: CutoutFixture[]
|
|
173
|
+
): CutoutFixture | null {
|
|
174
|
+
const cutoutFixturesForCutoutId = getCutoutFixturesForCutoutId(
|
|
175
|
+
cutoutId,
|
|
176
|
+
allCutoutFixtures
|
|
177
|
+
)
|
|
178
|
+
const nextCompatibleCutoutFixtures = getCutoutFixturesForAddressableAreas(
|
|
179
|
+
requiredAddressableAreas,
|
|
180
|
+
cutoutFixturesForCutoutId
|
|
181
|
+
)
|
|
182
|
+
return nextCompatibleCutoutFixtures?.[0] ?? null
|
|
183
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import range from 'lodash/range'
|
|
2
|
+
import { get96Channel384WellPlateWells } from './get96Channel384WellPlateWells'
|
|
3
|
+
import { getLabwareHasQuirk, orderWells, sortWells } from './index'
|
|
4
|
+
import type { LabwareDefinition2 } from '../types'
|
|
5
|
+
|
|
6
|
+
// TODO Ian 2018-03-13 pull pipette offsets/positions from some pipette definitions data
|
|
7
|
+
const OFFSET_8_CHANNEL = 9 // offset in mm between tips
|
|
8
|
+
|
|
9
|
+
const MULTICHANNEL_TIP_SPAN = OFFSET_8_CHANNEL * (8 - 1) // length in mm from first to last tip of multichannel
|
|
10
|
+
|
|
11
|
+
export function findWellAt(
|
|
12
|
+
labwareDef: LabwareDefinition2,
|
|
13
|
+
x: number,
|
|
14
|
+
y: number
|
|
15
|
+
): string | null | undefined {
|
|
16
|
+
return Object.keys(labwareDef.wells)
|
|
17
|
+
.sort(sortWells)
|
|
18
|
+
.find((wellName: string) => {
|
|
19
|
+
const well = labwareDef.wells[wellName]
|
|
20
|
+
|
|
21
|
+
if (well.shape === 'circular') {
|
|
22
|
+
return (
|
|
23
|
+
Math.sqrt(Math.pow(x - well.x, 2) + Math.pow(y - well.y, 2)) <
|
|
24
|
+
well.diameter / 2
|
|
25
|
+
)
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// Not circular, must be a rectangular well
|
|
29
|
+
// For rectangular wells, (x, y) is at the center.
|
|
30
|
+
return (
|
|
31
|
+
Math.abs(x - well.x) < well.xDimension / 2 &&
|
|
32
|
+
Math.abs(y - well.y) < well.yDimension / 2
|
|
33
|
+
)
|
|
34
|
+
})
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// "topWellName" means well at the "top" of the column we're accessing: usually A row, or B row for 384-format
|
|
38
|
+
export function getWellNamePerMultiTip(
|
|
39
|
+
labwareDef: LabwareDefinition2,
|
|
40
|
+
topWellName: string,
|
|
41
|
+
channels: 8 | 96
|
|
42
|
+
): string[] | null {
|
|
43
|
+
const topWell = labwareDef.wells[topWellName]
|
|
44
|
+
if (!topWell) {
|
|
45
|
+
console.warn(
|
|
46
|
+
`well "${topWellName}" does not exist in labware ${labwareDef?.namespace}/${labwareDef?.parameters?.loadName}, cannot getWellNamePerMultiTip`
|
|
47
|
+
)
|
|
48
|
+
return null
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
const { x, y } = topWell
|
|
52
|
+
let offsetYTipPositions: number[] = range(0, 8).map(
|
|
53
|
+
tipNo => y - tipNo * OFFSET_8_CHANNEL
|
|
54
|
+
)
|
|
55
|
+
const orderedWells = orderWells(labwareDef.ordering, 't2b', 'l2r')
|
|
56
|
+
|
|
57
|
+
if (getLabwareHasQuirk(labwareDef, 'centerMultichannelOnWells')) {
|
|
58
|
+
// move multichannel up in Y by half the pipette's tip span to center it in the well
|
|
59
|
+
offsetYTipPositions = offsetYTipPositions.map(
|
|
60
|
+
tipPosY => tipPosY + MULTICHANNEL_TIP_SPAN / 2
|
|
61
|
+
)
|
|
62
|
+
}
|
|
63
|
+
// Return null for containers with any undefined wells
|
|
64
|
+
const wellsAccessed = offsetYTipPositions.reduce(
|
|
65
|
+
(acc: string[] | null, tipPosY) => {
|
|
66
|
+
const wellForTip = findWellAt(labwareDef, x, tipPosY)
|
|
67
|
+
if (acc === null || !wellForTip) {
|
|
68
|
+
return null
|
|
69
|
+
}
|
|
70
|
+
return acc.concat(wellForTip)
|
|
71
|
+
},
|
|
72
|
+
[]
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
let ninetySixChannelWells = orderedWells
|
|
76
|
+
// special casing 384 well plates to be every other well
|
|
77
|
+
// both on the x and y ases.
|
|
78
|
+
if (orderedWells.length === 384) {
|
|
79
|
+
ninetySixChannelWells = get96Channel384WellPlateWells(
|
|
80
|
+
orderedWells,
|
|
81
|
+
topWellName
|
|
82
|
+
)
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return channels === 8 ? wellsAccessed : ninetySixChannelWells
|
|
86
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { LabwareDefinition2 } from '../types'
|
|
2
|
+
export const getWellTotalVolume = (
|
|
3
|
+
labwareDef: LabwareDefinition2,
|
|
4
|
+
wellName: string
|
|
5
|
+
): number | null | undefined => {
|
|
6
|
+
const well = labwareDef.wells[wellName]
|
|
7
|
+
|
|
8
|
+
if (!well) {
|
|
9
|
+
console.warn(
|
|
10
|
+
`No well "${wellName}" found for labware ${labwareDef?.namespace}/${labwareDef?.parameters?.loadName}/${labwareDef?.version}"`
|
|
11
|
+
)
|
|
12
|
+
return null
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
return well.totalLiquidVolume
|
|
16
|
+
}
|