@opentrons/shared-data 0.1.7-alpha.0 → 0.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.coveragerc +4 -0
- package/.flake8 +31 -0
- package/Config.in +11 -0
- package/LICENSE +202 -0
- package/Makefile +13 -14
- package/Makefile-python.mk +134 -0
- package/buildroot.mk +35 -0
- package/command/index.ts +16 -2
- package/command/schemas/12.json +65 -0
- package/command/schemas/13.json +7039 -0
- package/command/schemas/14.json +7254 -0
- package/command/types/annotation.ts +1 -1
- package/command/types/calibration.ts +7 -6
- package/command/types/gantry.ts +7 -6
- package/command/types/incidental.ts +1 -1
- package/command/types/index.ts +79 -20
- package/command/types/module.ts +98 -11
- package/command/types/pipetting.ts +9 -3
- package/command/types/robot.ts +98 -0
- package/command/types/setup.ts +8 -8
- package/command/types/support.ts +14 -2
- package/command/types/timing.ts +1 -1
- package/command/types/unsafe.ts +63 -1
- package/deck/definitions/5/ot2_short_trash.json +37 -0
- package/deck/definitions/5/ot2_standard.json +37 -0
- package/deck/definitions/5/ot3_standard.json +152 -51
- package/deck/index.ts +3 -6
- package/deck/schemas/5.json +46 -1
- package/errors/definitions/1/errors.json +12 -0
- package/errors/index.ts +2 -1
- package/labware/definitions/2/agilent_1_reservoir_290ml/3.json +80 -0
- package/labware/definitions/2/appliedbiosystemsmicroamp_384_wellplate_40ul/3.json +4737 -0
- package/labware/definitions/2/axygen_96_wellplate_500ul/1.json +1036 -0
- package/labware/definitions/2/axygen_96_wellplate_500ul/2.json +1159 -0
- package/labware/definitions/2/biorad_384_wellplate_50ul/4.json +4748 -0
- package/labware/definitions/2/biorad_96_wellplate_200ul_pcr/4.json +1187 -0
- package/labware/definitions/2/corning_12_wellplate_6.9ml_flat/4.json +210 -0
- package/labware/definitions/2/corning_24_wellplate_3.4ml_flat/4.json +342 -0
- package/labware/definitions/2/corning_384_wellplate_112ul_flat/4.json +5116 -0
- package/labware/definitions/2/corning_48_wellplate_1.6ml_flat/4.json +605 -0
- package/labware/definitions/2/corning_48_wellplate_1.6ml_flat/5.json +610 -0
- package/labware/definitions/2/corning_6_wellplate_16.8ml_flat/4.json +134 -0
- package/labware/definitions/2/corning_96_wellplate_360ul_flat/4.json +1177 -0
- package/labware/definitions/2/corning_96_wellplate_360ul_lid/1.json +111 -0
- package/labware/definitions/2/ev_resin_tips_flex_96_labware/1.json +1 -1
- package/labware/definitions/2/ibidi_96_square_well_plate_300ul/1.json +1105 -0
- package/labware/definitions/2/ibidi_96_square_well_plate_300ul/2.json +1216 -0
- package/labware/definitions/2/ibidi_96_square_well_plate_300ul_lid/1.json +110 -0
- package/labware/definitions/2/nest_12_reservoir_22ml/1.json +232 -0
- package/labware/definitions/2/nest_1_reservoir_290ml/3.json +80 -0
- package/labware/definitions/2/nest_24_wellplate_10.4ml/1.json +386 -0
- package/labware/definitions/2/nest_8_reservoir_22ml/1.json +162 -0
- package/labware/definitions/2/nest_96_wellplate_100ul_pcr_full_skirt/4.json +1166 -0
- package/labware/definitions/2/nest_96_wellplate_200ul_flat/4.json +1145 -0
- package/labware/definitions/2/nest_96_wellplate_2ml_deep/4.json +1261 -0
- package/labware/definitions/2/opentrons_24_aluminumblock_nest_0.5ml_screwcap/3.json +370 -0
- package/labware/definitions/2/opentrons_24_tuberack_nest_0.5ml_screwcap/3.json +371 -0
- package/labware/definitions/2/opentrons_96_aluminumblock_generic_pcr_strip_200ul/4.json +1149 -0
- package/labware/definitions/2/opentrons_96_wellplate_200ul_pcr_full_skirt/4.json +1174 -0
- package/labware/definitions/2/opentrons_flex_96_filtertiprack_1000ul/1.json +5 -0
- package/labware/definitions/2/opentrons_flex_96_filtertiprack_200ul/1.json +5 -0
- package/labware/definitions/2/opentrons_flex_96_filtertiprack_20ul/1.json +5 -0
- package/labware/definitions/2/opentrons_flex_96_filtertiprack_50ul/1.json +5 -0
- package/labware/definitions/2/opentrons_flex_96_tiprack_1000ul/1.json +5 -0
- package/labware/definitions/2/opentrons_flex_96_tiprack_200ul/1.json +5 -0
- package/labware/definitions/2/opentrons_flex_96_tiprack_20ul/1.json +5 -0
- package/labware/definitions/2/opentrons_flex_96_tiprack_50ul/1.json +5 -0
- package/labware/definitions/2/opentrons_flex_tiprack_lid/1.json +15 -9
- package/labware/definitions/2/opentrons_tough_pcr_auto_sealing_lid/1.json +8 -0
- package/labware/definitions/2/opentrons_tough_universal_lid/1.json +16 -1
- package/labware/definitions/2/smc_384_read_plate/1.json +4701 -0
- package/labware/definitions/2/smc_384_read_plate/2.json +5100 -0
- package/labware/definitions/2/thermoscientificnunc_96_wellplate_1300ul/3.json +1141 -0
- package/labware/definitions/2/thermoscientificnunc_96_wellplate_2000ul/3.json +1141 -0
- package/labware/definitions/2/usascientific_12_reservoir_22ml/3.json +237 -0
- package/labware/definitions/2/usascientific_96_wellplate_2.4ml_deep/3.json +1243 -0
- package/labware/definitions/3/schema3test_96_well_aluminum_block/999.json +1050 -0
- package/labware/definitions/3/schema3test_96_wellplate_200ul_pcr_full_skirt/999.json +1202 -0
- package/labware/definitions/3/schema3test_aluminum_flat_bottom_plate/999.json +70 -0
- package/labware/definitions/3/schema3test_flex_96_tiprack_200ul/999.json +1037 -0
- package/labware/definitions/3/schema3test_flex_96_tiprack_adapter/999.json +70 -0
- package/labware/definitions/3/schema3test_flex_tiprack_lid/999.json +146 -0
- package/labware/definitions/3/schema3test_tough_pcr_auto_sealing_lid/999.json +162 -0
- package/labware/definitions/3/schema3test_universal_flat_adapter/999.json +157 -0
- package/labware/fixtures/2/fixture_user_volumes_prototype.json +1137 -0
- package/labware/fixtures/2/index.ts +4 -4
- package/labware/fixtures/3/fixture_2_plate.json +28 -11
- package/labware/fixtures/3/fixture_corning_24_plate.json +51 -34
- package/labware/fixtures/3/index.ts +4 -0
- package/labware/schemas/2.json +36 -1
- package/labware/schemas/3.json +115 -25
- package/lib/command/index.d.ts +4211 -2095
- package/lib/command/schemas/12.json +65 -0
- package/lib/command/schemas/13.json +7039 -0
- package/lib/command/schemas/14.json +7254 -0
- package/lib/command/types/annotation.d.ts +1 -1
- package/lib/command/types/calibration.d.ts +5 -5
- package/lib/command/types/gantry.d.ts +5 -4
- package/lib/command/types/incidental.d.ts +1 -1
- package/lib/command/types/index.d.ts +60 -14
- package/lib/command/types/module.d.ts +75 -13
- package/lib/command/types/pipetting.d.ts +8 -3
- package/lib/command/types/robot.d.ts +71 -0
- package/lib/command/types/setup.d.ts +5 -5
- package/lib/command/types/support.d.ts +3 -2
- package/lib/command/types/timing.d.ts +1 -1
- package/lib/command/types/unsafe.d.ts +44 -3
- package/lib/deck/definitions/5/ot2_short_trash.json +37 -0
- package/lib/deck/definitions/5/ot2_standard.json +37 -0
- package/lib/deck/definitions/5/ot3_standard.json +152 -51
- package/lib/deck/index.d.ts +3 -3
- package/lib/deck/schemas/5.json +46 -1
- package/lib/errors/definitions/1/errors.json +12 -0
- package/lib/errors/index.d.ts +1 -1
- package/lib/index.mjs +380872 -297265
- package/lib/js/constants.d.ts +45 -17
- package/lib/js/deck/index.d.ts +2 -2
- package/lib/js/fixtures.d.ts +78 -3
- package/lib/js/getLabware.d.ts +3 -3
- package/lib/js/gripper.d.ts +1 -1
- package/lib/js/helpers/__tests__/getMaxPushOutVolume.test.d.ts +1 -0
- package/lib/js/helpers/__tests__/getMmFromBottom.test.d.ts +1 -0
- package/lib/js/helpers/__tests__/getStackedItemsOnStartingDeck.test.d.ts +1 -0
- package/lib/js/helpers/__tests__/labwareSchemaShims.test.d.ts +1 -0
- package/lib/js/helpers/__tests__/liquidClasses.test.d.ts +1 -0
- package/lib/js/helpers/__tests__/pairsFromArray.test.d.ts +1 -0
- package/lib/js/helpers/__tests__/vectorMath.test.d.ts +1 -0
- package/lib/js/helpers/getFixedTrashLabwareDefinition.d.ts +2 -2
- package/lib/js/helpers/getLabwareDefURI.d.ts +3 -0
- package/lib/js/helpers/getLabwareDefinitionsByURIForProtocol.d.ts +6 -0
- package/lib/js/helpers/getLabwareInfoByLiquidId.d.ts +10 -0
- package/lib/js/helpers/getLiquidsByIdForLabware.d.ts +2 -0
- package/lib/js/helpers/getLoadedLabwareDefinitionsByUri.d.ts +2 -2
- package/lib/js/helpers/getMaxPushOutVolume.d.ts +2 -0
- package/lib/js/helpers/getMmFromBottom.d.ts +2 -0
- package/lib/js/helpers/getSimplestFlexDeckConfig.d.ts +1 -1
- package/lib/js/helpers/getStackedItemsOnStartingDeck.d.ts +50 -0
- package/lib/js/helpers/getStandardDeckViewLayerBlockList.d.ts +2 -0
- package/lib/js/helpers/getTipTypeFromTipRackDefinition.d.ts +2 -2
- package/lib/js/helpers/getWellFillFromLabwareId.d.ts +4 -0
- package/lib/js/helpers/getWellNamePerMultiTip.d.ts +3 -3
- package/lib/js/helpers/getWellRangeForLiquidLabwarePair.d.ts +6 -0
- package/lib/js/helpers/getWellTotalVolume.d.ts +2 -2
- package/lib/js/helpers/index.d.ts +25 -14
- package/lib/js/helpers/labwareInference.d.ts +3 -3
- package/lib/js/helpers/liquidClasses.d.ts +10 -0
- package/lib/js/helpers/matrixMath.d.ts +3 -0
- package/lib/js/helpers/pairsFromArray.d.ts +8 -0
- package/lib/js/helpers/parseAddressableArea.d.ts +1 -1
- package/lib/js/helpers/parseProtocolCommands.d.ts +5 -5
- package/lib/js/helpers/positionMath.d.ts +127 -0
- package/lib/js/helpers/validateCustomLabwareHelper.d.ts +2 -2
- package/lib/js/helpers/vectorMath.d.ts +14 -0
- package/lib/js/helpers/wellSets.d.ts +4 -4
- package/lib/js/labware.d.ts +10 -9
- package/lib/js/labwareTools/index.d.ts +1 -1
- package/lib/js/liquidClasses.d.ts +4 -0
- package/lib/js/modules.d.ts +2 -2
- package/lib/js/pipettes.d.ts +3 -2
- package/lib/js/types.d.ts +105 -38
- package/lib/labware/definitions/2/agilent_1_reservoir_290ml/3.json +80 -0
- package/lib/labware/definitions/2/appliedbiosystemsmicroamp_384_wellplate_40ul/3.json +4737 -0
- package/lib/labware/definitions/2/axygen_96_wellplate_500ul/1.json +1036 -0
- package/lib/labware/definitions/2/axygen_96_wellplate_500ul/2.json +1159 -0
- package/lib/labware/definitions/2/biorad_384_wellplate_50ul/4.json +4748 -0
- package/lib/labware/definitions/2/biorad_96_wellplate_200ul_pcr/4.json +1187 -0
- package/lib/labware/definitions/2/corning_12_wellplate_6.9ml_flat/4.json +210 -0
- package/lib/labware/definitions/2/corning_24_wellplate_3.4ml_flat/4.json +342 -0
- package/lib/labware/definitions/2/corning_384_wellplate_112ul_flat/4.json +5116 -0
- package/lib/labware/definitions/2/corning_48_wellplate_1.6ml_flat/4.json +605 -0
- package/lib/labware/definitions/2/corning_48_wellplate_1.6ml_flat/5.json +610 -0
- package/lib/labware/definitions/2/corning_6_wellplate_16.8ml_flat/4.json +134 -0
- package/lib/labware/definitions/2/corning_96_wellplate_360ul_flat/4.json +1177 -0
- package/lib/labware/definitions/2/corning_96_wellplate_360ul_lid/1.json +111 -0
- package/lib/labware/definitions/2/ev_resin_tips_flex_96_labware/1.json +1 -1
- package/lib/labware/definitions/2/ibidi_96_square_well_plate_300ul/1.json +1105 -0
- package/lib/labware/definitions/2/ibidi_96_square_well_plate_300ul/2.json +1216 -0
- package/lib/labware/definitions/2/ibidi_96_square_well_plate_300ul_lid/1.json +110 -0
- package/lib/labware/definitions/2/nest_12_reservoir_22ml/1.json +232 -0
- package/lib/labware/definitions/2/nest_1_reservoir_290ml/3.json +80 -0
- package/lib/labware/definitions/2/nest_24_wellplate_10.4ml/1.json +386 -0
- package/lib/labware/definitions/2/nest_8_reservoir_22ml/1.json +162 -0
- package/lib/labware/definitions/2/nest_96_wellplate_100ul_pcr_full_skirt/4.json +1166 -0
- package/lib/labware/definitions/2/nest_96_wellplate_200ul_flat/4.json +1145 -0
- package/lib/labware/definitions/2/nest_96_wellplate_2ml_deep/4.json +1261 -0
- package/lib/labware/definitions/2/opentrons_24_aluminumblock_nest_0.5ml_screwcap/3.json +370 -0
- package/lib/labware/definitions/2/opentrons_24_tuberack_nest_0.5ml_screwcap/3.json +371 -0
- package/lib/labware/definitions/2/opentrons_96_aluminumblock_generic_pcr_strip_200ul/4.json +1149 -0
- package/lib/labware/definitions/2/opentrons_96_wellplate_200ul_pcr_full_skirt/4.json +1174 -0
- package/lib/labware/definitions/2/opentrons_flex_96_filtertiprack_1000ul/1.json +5 -0
- package/lib/labware/definitions/2/opentrons_flex_96_filtertiprack_200ul/1.json +5 -0
- package/lib/labware/definitions/2/opentrons_flex_96_filtertiprack_20ul/1.json +5 -0
- package/lib/labware/definitions/2/opentrons_flex_96_filtertiprack_50ul/1.json +5 -0
- package/lib/labware/definitions/2/opentrons_flex_96_tiprack_1000ul/1.json +5 -0
- package/lib/labware/definitions/2/opentrons_flex_96_tiprack_200ul/1.json +5 -0
- package/lib/labware/definitions/2/opentrons_flex_96_tiprack_20ul/1.json +5 -0
- package/lib/labware/definitions/2/opentrons_flex_96_tiprack_50ul/1.json +5 -0
- package/lib/labware/definitions/2/opentrons_flex_tiprack_lid/1.json +15 -9
- package/lib/labware/definitions/2/opentrons_tough_pcr_auto_sealing_lid/1.json +8 -0
- package/lib/labware/definitions/2/opentrons_tough_universal_lid/1.json +16 -1
- package/lib/labware/definitions/2/smc_384_read_plate/1.json +4701 -0
- package/lib/labware/definitions/2/smc_384_read_plate/2.json +5100 -0
- package/lib/labware/definitions/2/thermoscientificnunc_96_wellplate_1300ul/3.json +1141 -0
- package/lib/labware/definitions/2/thermoscientificnunc_96_wellplate_2000ul/3.json +1141 -0
- package/lib/labware/definitions/2/usascientific_12_reservoir_22ml/3.json +237 -0
- package/lib/labware/definitions/2/usascientific_96_wellplate_2.4ml_deep/3.json +1243 -0
- package/lib/labware/definitions/3/schema3test_96_well_aluminum_block/999.json +1050 -0
- package/lib/labware/definitions/3/schema3test_96_wellplate_200ul_pcr_full_skirt/999.json +1202 -0
- package/lib/labware/definitions/3/schema3test_aluminum_flat_bottom_plate/999.json +70 -0
- package/lib/labware/definitions/3/schema3test_flex_96_tiprack_200ul/999.json +1037 -0
- package/lib/labware/definitions/3/schema3test_flex_96_tiprack_adapter/999.json +70 -0
- package/lib/labware/definitions/3/schema3test_flex_tiprack_lid/999.json +146 -0
- package/lib/labware/definitions/3/schema3test_tough_pcr_auto_sealing_lid/999.json +162 -0
- package/lib/labware/definitions/3/schema3test_universal_flat_adapter/999.json +157 -0
- package/lib/labware/fixtures/2/fixture_user_volumes_prototype.json +1137 -0
- package/lib/labware/fixtures/2/index.d.ts +4 -4
- package/lib/labware/fixtures/3/fixture_2_plate.json +28 -11
- package/lib/labware/fixtures/3/fixture_corning_24_plate.json +51 -34
- package/lib/labware/fixtures/3/index.d.ts +3 -0
- package/lib/labware/schemas/2.json +36 -1
- package/lib/labware/schemas/3.json +115 -25
- package/lib/liquid-class/definitions/1/{ethanol_80.json → ethanol_80/1.json} +1957 -1406
- package/lib/liquid-class/definitions/1/{glycerol_50.json → glycerol_50/1.json} +1781 -1230
- package/lib/liquid-class/definitions/1/{water.json → water/1.json} +1567 -1082
- package/lib/liquid-class/fixtures/1/fixture_glycerol50.json +67 -48
- package/lib/liquid-class/schemas/1.json +40 -48
- package/lib/module/definitions/3/absorbanceReaderV1.json +20 -150
- package/lib/module/definitions/3/flexStackerModuleV1.json +31 -385
- package/lib/module/definitions/3/heaterShakerModuleV1.json +16 -357
- package/lib/module/definitions/3/magneticBlockV1.json +18 -148
- package/lib/module/definitions/3/magneticModuleV1.json +16 -398
- package/lib/module/definitions/3/magneticModuleV2.json +16 -398
- package/lib/module/definitions/3/temperatureModuleV1.json +16 -152
- package/lib/module/definitions/3/temperatureModuleV2.json +16 -152
- package/lib/module/definitions/3/thermocyclerModuleV1.json +16 -1339
- package/lib/module/definitions/3/thermocyclerModuleV2.json +18 -3616
- package/lib/module/schemas/3.json +111 -10
- package/lib/pipette/definitions/1/pipetteModelSpecs.json +336 -0
- package/lib/pipette/definitions/2/general/ninety_six_channel/p200/3_2.json +660 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p50/3_5.json +4 -0
- package/lib/pipette/definitions/2/geometry/ninety_six_channel/p200/3_0.json +4 -0
- package/lib/pipette/definitions/2/geometry/ninety_six_channel/p200/3_2.json +309 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p50/3_6.json +4 -0
- package/lib/pipette/definitions/2/liquid/ninety_six_channel/p200/default/1_0.json +11 -11
- package/lib/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json +12 -12
- package/lib/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_1.json +28 -18
- package/lib/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_2.json +192 -0
- package/lib/pipette/definitions/2/liquid/single_channel/p50/default/3_6.json +5 -5
- package/lib/pipette/definitions/2/liquid/single_channel/p50/lowVolumeDefault/3_6.json +5 -5
- package/lib/pipette/fixtures/name/index.d.ts +1 -1
- package/lib/protocol/fixtures/index.d.ts +2 -2
- package/lib/protocol/index.d.ts +7 -7
- package/lib/protocol/types/schemaV4.d.ts +1 -1
- package/lib/protocol/types/schemaV5.d.ts +1 -1
- package/lib/protocol/types/schemaV5Addendum.d.ts +1 -1
- package/lib/protocol/types/schemaV6/command/gantry.d.ts +4 -4
- package/lib/protocol/types/schemaV6/command/index.d.ts +5 -5
- package/lib/protocol/types/schemaV6/command/module.d.ts +1 -1
- package/lib/protocol/types/schemaV6/command/pipetting.d.ts +1 -1
- package/lib/protocol/types/schemaV6/command/setup.d.ts +1 -1
- package/lib/protocol/types/schemaV6/command/timing.d.ts +1 -1
- package/lib/protocol/types/schemaV6/index.d.ts +2 -2
- package/lib/protocol/types/schemaV7/command/annotation.d.ts +1 -1
- package/lib/protocol/types/schemaV7/command/calibration.d.ts +5 -5
- package/lib/protocol/types/schemaV7/command/gantry.d.ts +4 -4
- package/lib/protocol/types/schemaV7/command/incidental.d.ts +1 -1
- package/lib/protocol/types/schemaV7/command/index.d.ts +7 -7
- package/lib/protocol/types/schemaV7/command/module.d.ts +1 -1
- package/lib/protocol/types/schemaV7/command/pipetting.d.ts +1 -1
- package/lib/protocol/types/schemaV7/command/setup.d.ts +1 -1
- package/lib/protocol/types/schemaV7/command/timing.d.ts +1 -1
- package/lib/protocol/types/schemaV7/index.d.ts +2 -2
- package/lib/protocol/types/schemaV8/index.d.ts +18 -2
- package/liquid-class/definitions/1/{ethanol_80.json → ethanol_80/1.json} +1957 -1406
- package/liquid-class/definitions/1/{glycerol_50.json → glycerol_50/1.json} +1781 -1230
- package/liquid-class/definitions/1/{water.json → water/1.json} +1567 -1082
- package/liquid-class/fixtures/1/fixture_glycerol50.json +67 -48
- package/liquid-class/schemas/1.json +40 -48
- package/module/definitions/3/absorbanceReaderV1.json +20 -150
- package/module/definitions/3/flexStackerModuleV1.json +31 -385
- package/module/definitions/3/heaterShakerModuleV1.json +16 -357
- package/module/definitions/3/magneticBlockV1.json +18 -148
- package/module/definitions/3/magneticModuleV1.json +16 -398
- package/module/definitions/3/magneticModuleV2.json +16 -398
- package/module/definitions/3/temperatureModuleV1.json +16 -152
- package/module/definitions/3/temperatureModuleV2.json +16 -152
- package/module/definitions/3/thermocyclerModuleV1.json +16 -1339
- package/module/definitions/3/thermocyclerModuleV2.json +18 -3616
- package/module/schemas/3.json +111 -10
- package/mypy.ini +22 -0
- package/package.json +1 -1
- package/pipette/definitions/1/pipetteModelSpecs.json +336 -0
- package/pipette/definitions/2/general/ninety_six_channel/p200/3_2.json +660 -0
- package/pipette/definitions/2/geometry/eight_channel/p50/3_5.json +4 -0
- package/pipette/definitions/2/geometry/ninety_six_channel/p200/3_0.json +4 -0
- package/pipette/definitions/2/geometry/ninety_six_channel/p200/3_2.json +309 -0
- package/pipette/definitions/2/geometry/single_channel/p50/3_6.json +4 -0
- package/pipette/definitions/2/liquid/ninety_six_channel/p200/default/1_0.json +11 -11
- package/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json +12 -12
- package/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_1.json +28 -18
- package/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_2.json +192 -0
- package/pipette/definitions/2/liquid/single_channel/p50/default/3_6.json +5 -5
- package/pipette/definitions/2/liquid/single_channel/p50/lowVolumeDefault/3_6.json +5 -5
- package/pipette/fixtures/index.ts +12 -12
- package/pipette/fixtures/name/index.ts +1 -0
- package/protocol/fixtures/index.ts +2 -3
- package/protocol/index.ts +9 -8
- package/protocol/types/schemaV4.ts +4 -4
- package/protocol/types/schemaV5.ts +1 -1
- package/protocol/types/schemaV5Addendum.ts +1 -1
- package/protocol/types/schemaV6/command/gantry.ts +4 -4
- package/protocol/types/schemaV6/command/index.ts +6 -6
- package/protocol/types/schemaV6/command/module.ts +1 -1
- package/protocol/types/schemaV6/command/pipetting.ts +2 -1
- package/protocol/types/schemaV6/command/setup.ts +2 -2
- package/protocol/types/schemaV6/command/timing.ts +1 -1
- package/protocol/types/schemaV6/index.ts +3 -3
- package/protocol/types/schemaV7/command/annotation.ts +1 -1
- package/protocol/types/schemaV7/command/calibration.ts +7 -6
- package/protocol/types/schemaV7/command/gantry.ts +5 -5
- package/protocol/types/schemaV7/command/incidental.ts +1 -1
- package/protocol/types/schemaV7/command/index.ts +14 -14
- package/protocol/types/schemaV7/command/module.ts +1 -1
- package/protocol/types/schemaV7/command/pipetting.ts +2 -1
- package/protocol/types/schemaV7/command/setup.ts +2 -2
- package/protocol/types/schemaV7/command/timing.ts +1 -1
- package/protocol/types/schemaV7/index.ts +3 -3
- package/protocol/types/schemaV8/index.ts +32 -4
- package/pyproject.toml +119 -0
- package/pytest.ini +8 -0
- package/python_tests/__init__.py +1 -0
- package/python_tests/command/test_known_schema_ids.py +9 -0
- package/python_tests/conftest.py +108 -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 +101 -0
- package/python_tests/deck/test_typechecks.py +23 -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 +19 -0
- package/python_tests/labware/__init__.py +13 -0
- package/python_tests/labware/test_typechecks.py +80 -0
- package/python_tests/liquid_classes/__init__.py +0 -0
- package/python_tests/liquid_classes/test_liquid_class_values.py +59 -0
- package/python_tests/liquid_classes/test_load.py +45 -0
- package/python_tests/liquid_classes/test_validations.py +192 -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 +26 -0
- package/python_tests/pipette/__init__.py +0 -0
- package/python_tests/pipette/test_load_data.py +109 -0
- package/python_tests/pipette/test_max_flow_rates_per_volume.py +112 -0
- package/python_tests/pipette/test_mutable_configurations.py +467 -0
- package/python_tests/pipette/test_pipette_definition.py +183 -0
- package/python_tests/pipette/test_pipette_load_name_conversions.py +244 -0
- package/python_tests/pipette/test_typechecks.py +47 -0
- package/python_tests/pipette/test_validate_schema.py +198 -0
- package/python_tests/protocol/__init__.py +7 -0
- package/python_tests/protocol/test_protocol_schema_v6.py +108 -0
- package/python_tests/protocol/test_protocol_schema_v7.py +35 -0
- package/python_tests/protocol/test_protocol_schema_v8.py +17 -0
- package/python_tests/protocol/test_typechecks.py +30 -0
- package/python_tests/robot/__init__.py +0 -0
- package/python_tests/robot/test_typechecks.py +13 -0
- package/lib/js/cypressUtils.d.ts +0 -1
- package/lib/js/helpers/getVectorDifference.d.ts +0 -2
- package/lib/js/helpers/getVectorSum.d.ts +0 -2
- /package/lib/js/{helpers/__tests__/getVectorDifference.test.d.ts → __tests__/fixtures.test.d.ts} +0 -0
- /package/lib/js/helpers/__tests__/{getVectorSum.test.d.ts → getLabwareInfoByLiquidId.test.d.ts} +0 -0
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"displayName": "Viscous",
|
|
4
4
|
"description": "50% glycerol",
|
|
5
5
|
"schemaVersion": 1,
|
|
6
|
+
"version": 1,
|
|
6
7
|
"namespace": "opentrons",
|
|
7
8
|
"byPipette": [
|
|
8
9
|
{
|
|
@@ -12,11 +13,13 @@
|
|
|
12
13
|
"tiprack": "opentrons_96_tiprack_20ul",
|
|
13
14
|
"aspirate": {
|
|
14
15
|
"submerge": {
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
"startPosition": {
|
|
17
|
+
"positionReference": "liquid-meniscus",
|
|
18
|
+
"offset": {
|
|
19
|
+
"x": 0,
|
|
20
|
+
"y": 0,
|
|
21
|
+
"z": -5
|
|
22
|
+
}
|
|
20
23
|
},
|
|
21
24
|
"speed": 100,
|
|
22
25
|
"delay": {
|
|
@@ -27,11 +30,13 @@
|
|
|
27
30
|
}
|
|
28
31
|
},
|
|
29
32
|
"retract": {
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
"endPosition": {
|
|
34
|
+
"positionReference": "well-top",
|
|
35
|
+
"offset": {
|
|
36
|
+
"x": 0,
|
|
37
|
+
"y": 0,
|
|
38
|
+
"z": 5
|
|
39
|
+
}
|
|
35
40
|
},
|
|
36
41
|
"speed": 100,
|
|
37
42
|
"airGapByVolume": [
|
|
@@ -42,7 +47,7 @@
|
|
|
42
47
|
"enable": true,
|
|
43
48
|
"params": {
|
|
44
49
|
"zOffset": 2,
|
|
45
|
-
"
|
|
50
|
+
"mmFromEdge": 1,
|
|
46
51
|
"speed": 50
|
|
47
52
|
}
|
|
48
53
|
},
|
|
@@ -53,11 +58,13 @@
|
|
|
53
58
|
}
|
|
54
59
|
}
|
|
55
60
|
},
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
+
"aspiratePosition": {
|
|
62
|
+
"positionReference": "well-bottom",
|
|
63
|
+
"offset": {
|
|
64
|
+
"x": 0,
|
|
65
|
+
"y": 0,
|
|
66
|
+
"z": -5
|
|
67
|
+
}
|
|
61
68
|
},
|
|
62
69
|
"flowRateByVolume": [[10.0, 50.0]],
|
|
63
70
|
"correctionByVolume": [
|
|
@@ -81,11 +88,13 @@
|
|
|
81
88
|
},
|
|
82
89
|
"singleDispense": {
|
|
83
90
|
"submerge": {
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
"
|
|
87
|
-
|
|
88
|
-
|
|
91
|
+
"startPosition": {
|
|
92
|
+
"positionReference": "liquid-meniscus",
|
|
93
|
+
"offset": {
|
|
94
|
+
"x": 0,
|
|
95
|
+
"y": 0,
|
|
96
|
+
"z": -5
|
|
97
|
+
}
|
|
89
98
|
},
|
|
90
99
|
"speed": 100,
|
|
91
100
|
"delay": {
|
|
@@ -96,11 +105,13 @@
|
|
|
96
105
|
}
|
|
97
106
|
},
|
|
98
107
|
"retract": {
|
|
99
|
-
"
|
|
100
|
-
|
|
101
|
-
"
|
|
102
|
-
|
|
103
|
-
|
|
108
|
+
"endPosition": {
|
|
109
|
+
"positionReference": "well-top",
|
|
110
|
+
"offset": {
|
|
111
|
+
"x": 0,
|
|
112
|
+
"y": 0,
|
|
113
|
+
"z": 5
|
|
114
|
+
}
|
|
104
115
|
},
|
|
105
116
|
"speed": 100,
|
|
106
117
|
"airGapByVolume": [
|
|
@@ -118,7 +129,7 @@
|
|
|
118
129
|
"enable": true,
|
|
119
130
|
"params": {
|
|
120
131
|
"zOffset": 2,
|
|
121
|
-
"
|
|
132
|
+
"mmFromEdge": 1,
|
|
122
133
|
"speed": 50
|
|
123
134
|
}
|
|
124
135
|
},
|
|
@@ -129,11 +140,13 @@
|
|
|
129
140
|
}
|
|
130
141
|
}
|
|
131
142
|
},
|
|
132
|
-
"
|
|
133
|
-
|
|
134
|
-
"
|
|
135
|
-
|
|
136
|
-
|
|
143
|
+
"dispensePosition": {
|
|
144
|
+
"positionReference": "well-bottom",
|
|
145
|
+
"offset": {
|
|
146
|
+
"x": 0,
|
|
147
|
+
"y": 0,
|
|
148
|
+
"z": -5
|
|
149
|
+
}
|
|
137
150
|
},
|
|
138
151
|
"flowRateByVolume": [
|
|
139
152
|
[10.0, 40.0],
|
|
@@ -163,11 +176,13 @@
|
|
|
163
176
|
},
|
|
164
177
|
"multiDispense": {
|
|
165
178
|
"submerge": {
|
|
166
|
-
"
|
|
167
|
-
|
|
168
|
-
"
|
|
169
|
-
|
|
170
|
-
|
|
179
|
+
"startPosition": {
|
|
180
|
+
"positionReference": "liquid-meniscus",
|
|
181
|
+
"offset": {
|
|
182
|
+
"x": 0,
|
|
183
|
+
"y": 0,
|
|
184
|
+
"z": -5
|
|
185
|
+
}
|
|
171
186
|
},
|
|
172
187
|
"speed": 100,
|
|
173
188
|
"delay": {
|
|
@@ -178,11 +193,13 @@
|
|
|
178
193
|
}
|
|
179
194
|
},
|
|
180
195
|
"retract": {
|
|
181
|
-
"
|
|
182
|
-
|
|
183
|
-
"
|
|
184
|
-
|
|
185
|
-
|
|
196
|
+
"endPosition": {
|
|
197
|
+
"positionReference": "well-top",
|
|
198
|
+
"offset": {
|
|
199
|
+
"x": 0,
|
|
200
|
+
"y": 0,
|
|
201
|
+
"z": 5
|
|
202
|
+
}
|
|
186
203
|
},
|
|
187
204
|
"speed": 100,
|
|
188
205
|
"airGapByVolume": [
|
|
@@ -193,7 +210,7 @@
|
|
|
193
210
|
"enable": true,
|
|
194
211
|
"params": {
|
|
195
212
|
"zOffset": 2,
|
|
196
|
-
"
|
|
213
|
+
"mmFromEdge": 1,
|
|
197
214
|
"speed": 50
|
|
198
215
|
}
|
|
199
216
|
},
|
|
@@ -207,11 +224,13 @@
|
|
|
207
224
|
"enable": false
|
|
208
225
|
}
|
|
209
226
|
},
|
|
210
|
-
"
|
|
211
|
-
|
|
212
|
-
"
|
|
213
|
-
|
|
214
|
-
|
|
227
|
+
"dispensePosition": {
|
|
228
|
+
"positionReference": "well-bottom",
|
|
229
|
+
"offset": {
|
|
230
|
+
"x": 0,
|
|
231
|
+
"y": 0,
|
|
232
|
+
"z": -5
|
|
233
|
+
}
|
|
215
234
|
},
|
|
216
235
|
"flowRateByVolume": [
|
|
217
236
|
[10.0, 40.0],
|
|
@@ -58,6 +58,20 @@
|
|
|
58
58
|
"required": ["x", "y", "z"],
|
|
59
59
|
"additionalProperties": false
|
|
60
60
|
},
|
|
61
|
+
"tipPosition": {
|
|
62
|
+
"type": "object",
|
|
63
|
+
"description": "Positional reference and relative offset for where a tip should go.",
|
|
64
|
+
"properties": {
|
|
65
|
+
"positionReference": {
|
|
66
|
+
"$ref": "#/definitions/positionReference"
|
|
67
|
+
},
|
|
68
|
+
"offset": {
|
|
69
|
+
"$ref": "#/definitions/coordinate"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"required": ["positionReference", "offset"],
|
|
73
|
+
"additionalProperties": false
|
|
74
|
+
},
|
|
61
75
|
"touchTip": {
|
|
62
76
|
"type": "object",
|
|
63
77
|
"description": "Shared properties for the touch-tip function.",
|
|
@@ -73,7 +87,7 @@
|
|
|
73
87
|
"type": "number",
|
|
74
88
|
"description": "Offset from the top of the well for touch-tip, in millimeters."
|
|
75
89
|
},
|
|
76
|
-
"
|
|
90
|
+
"mmFromEdge": {
|
|
77
91
|
"type": "number",
|
|
78
92
|
"description": "Offset away from the the well edge, in millimeters."
|
|
79
93
|
},
|
|
@@ -82,7 +96,7 @@
|
|
|
82
96
|
"description": "Touch-tip speed, in millimeters per second."
|
|
83
97
|
}
|
|
84
98
|
},
|
|
85
|
-
"required": ["zOffset", "
|
|
99
|
+
"required": ["zOffset", "mmFromEdge", "speed"],
|
|
86
100
|
"additionalProperties": false
|
|
87
101
|
}
|
|
88
102
|
},
|
|
@@ -214,11 +228,8 @@
|
|
|
214
228
|
"type": "object",
|
|
215
229
|
"description": "Shared properties for the submerge function before aspiration or dispense.",
|
|
216
230
|
"properties": {
|
|
217
|
-
"
|
|
218
|
-
"$ref": "#/definitions/
|
|
219
|
-
},
|
|
220
|
-
"offset": {
|
|
221
|
-
"$ref": "#/definitions/coordinate"
|
|
231
|
+
"startPosition": {
|
|
232
|
+
"$ref": "#/definitions/tipPosition"
|
|
222
233
|
},
|
|
223
234
|
"speed": {
|
|
224
235
|
"$ref": "#/definitions/positiveNumber",
|
|
@@ -228,18 +239,15 @@
|
|
|
228
239
|
"$ref": "#/definitions/delay"
|
|
229
240
|
}
|
|
230
241
|
},
|
|
231
|
-
"required": ["
|
|
242
|
+
"required": ["startPosition", "speed", "delay"],
|
|
232
243
|
"additionalProperties": false
|
|
233
244
|
},
|
|
234
245
|
"retractAspirate": {
|
|
235
246
|
"type": "object",
|
|
236
247
|
"description": "Shared properties for the retract function after aspiration or dispense.",
|
|
237
248
|
"properties": {
|
|
238
|
-
"
|
|
239
|
-
"$ref": "#/definitions/
|
|
240
|
-
},
|
|
241
|
-
"offset": {
|
|
242
|
-
"$ref": "#/definitions/coordinate"
|
|
249
|
+
"endPosition": {
|
|
250
|
+
"$ref": "#/definitions/tipPosition"
|
|
243
251
|
},
|
|
244
252
|
"speed": {
|
|
245
253
|
"$ref": "#/definitions/positiveNumber",
|
|
@@ -255,24 +263,15 @@
|
|
|
255
263
|
"$ref": "#/definitions/delay"
|
|
256
264
|
}
|
|
257
265
|
},
|
|
258
|
-
"required": [
|
|
259
|
-
"positionReference",
|
|
260
|
-
"offset",
|
|
261
|
-
"speed",
|
|
262
|
-
"airGapByVolume",
|
|
263
|
-
"delay"
|
|
264
|
-
],
|
|
266
|
+
"required": ["endPosition", "speed", "airGapByVolume", "delay"],
|
|
265
267
|
"additionalProperties": false
|
|
266
268
|
},
|
|
267
269
|
"retractDispense": {
|
|
268
270
|
"type": "object",
|
|
269
271
|
"description": "Shared properties for the retract function after aspiration or dispense.",
|
|
270
272
|
"properties": {
|
|
271
|
-
"
|
|
272
|
-
"$ref": "#/definitions/
|
|
273
|
-
},
|
|
274
|
-
"offset": {
|
|
275
|
-
"$ref": "#/definitions/coordinate"
|
|
273
|
+
"endPosition": {
|
|
274
|
+
"$ref": "#/definitions/tipPosition"
|
|
276
275
|
},
|
|
277
276
|
"speed": {
|
|
278
277
|
"$ref": "#/definitions/positiveNumber",
|
|
@@ -292,8 +291,7 @@
|
|
|
292
291
|
}
|
|
293
292
|
},
|
|
294
293
|
"required": [
|
|
295
|
-
"
|
|
296
|
-
"offset",
|
|
294
|
+
"endPosition",
|
|
297
295
|
"speed",
|
|
298
296
|
"airGapByVolume",
|
|
299
297
|
"blowout",
|
|
@@ -312,11 +310,8 @@
|
|
|
312
310
|
"retract": {
|
|
313
311
|
"$ref": "#/definitions/retractAspirate"
|
|
314
312
|
},
|
|
315
|
-
"
|
|
316
|
-
"$ref": "#/definitions/
|
|
317
|
-
},
|
|
318
|
-
"offset": {
|
|
319
|
-
"$ref": "#/definitions/coordinate"
|
|
313
|
+
"aspiratePosition": {
|
|
314
|
+
"$ref": "#/definitions/tipPosition"
|
|
320
315
|
},
|
|
321
316
|
"flowRateByVolume": {
|
|
322
317
|
"$ref": "#/definitions/flowRateByVolume"
|
|
@@ -338,8 +333,7 @@
|
|
|
338
333
|
"required": [
|
|
339
334
|
"submerge",
|
|
340
335
|
"retract",
|
|
341
|
-
"
|
|
342
|
-
"offset",
|
|
336
|
+
"aspiratePosition",
|
|
343
337
|
"flowRateByVolume",
|
|
344
338
|
"correctionByVolume",
|
|
345
339
|
"preWet",
|
|
@@ -358,11 +352,8 @@
|
|
|
358
352
|
"retract": {
|
|
359
353
|
"$ref": "#/definitions/retractDispense"
|
|
360
354
|
},
|
|
361
|
-
"
|
|
362
|
-
"$ref": "#/definitions/
|
|
363
|
-
},
|
|
364
|
-
"offset": {
|
|
365
|
-
"$ref": "#/definitions/coordinate"
|
|
355
|
+
"dispensePosition": {
|
|
356
|
+
"$ref": "#/definitions/tipPosition"
|
|
366
357
|
},
|
|
367
358
|
"flowRateByVolume": {
|
|
368
359
|
"$ref": "#/definitions/flowRateByVolume"
|
|
@@ -383,8 +374,7 @@
|
|
|
383
374
|
"required": [
|
|
384
375
|
"submerge",
|
|
385
376
|
"retract",
|
|
386
|
-
"
|
|
387
|
-
"offset",
|
|
377
|
+
"dispensePosition",
|
|
388
378
|
"flowRateByVolume",
|
|
389
379
|
"correctionByVolume",
|
|
390
380
|
"mix",
|
|
@@ -403,11 +393,8 @@
|
|
|
403
393
|
"retract": {
|
|
404
394
|
"$ref": "#/definitions/retractDispense"
|
|
405
395
|
},
|
|
406
|
-
"
|
|
407
|
-
"$ref": "#/definitions/
|
|
408
|
-
},
|
|
409
|
-
"offset": {
|
|
410
|
-
"$ref": "#/definitions/coordinate"
|
|
396
|
+
"dispensePosition": {
|
|
397
|
+
"$ref": "#/definitions/tipPosition"
|
|
411
398
|
},
|
|
412
399
|
"flowRateByVolume": {
|
|
413
400
|
"$ref": "#/definitions/flowRateByVolume"
|
|
@@ -428,8 +415,7 @@
|
|
|
428
415
|
"required": [
|
|
429
416
|
"submerge",
|
|
430
417
|
"retract",
|
|
431
|
-
"
|
|
432
|
-
"offset",
|
|
418
|
+
"dispensePosition",
|
|
433
419
|
"flowRateByVolume",
|
|
434
420
|
"correctionByVolume",
|
|
435
421
|
"conditioningByVolume",
|
|
@@ -457,6 +443,11 @@
|
|
|
457
443
|
"type": "number",
|
|
458
444
|
"enum": [1]
|
|
459
445
|
},
|
|
446
|
+
"version": {
|
|
447
|
+
"description": "Version of the liquid class definition itself (eg water v1/v2/v3). An incrementing integer",
|
|
448
|
+
"type": "integer",
|
|
449
|
+
"minimum": 1
|
|
450
|
+
},
|
|
460
451
|
"namespace": {
|
|
461
452
|
"$ref": "#/definitions/safeString"
|
|
462
453
|
},
|
|
@@ -506,6 +497,7 @@
|
|
|
506
497
|
"displayName",
|
|
507
498
|
"description",
|
|
508
499
|
"schemaVersion",
|
|
500
|
+
"version",
|
|
509
501
|
"namespace",
|
|
510
502
|
"byPipette"
|
|
511
503
|
],
|