Skip to content

Commit

Permalink
add cal block fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhuff committed Feb 26, 2024
1 parent b96cb2b commit e728cf7
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 3 deletions.
3 changes: 1 addition & 2 deletions shared-data/js/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export * from './constants'
export * from './deck'
export * from './errors'
export * from './fixtures'
export * from './fixtures'
export * from './getLabware'
export * from './gripper'
export * from './helpers'
Expand All @@ -15,4 +14,4 @@ export * from './modules'
export * from './pipettes'
export * from './protocols'
export * from './titleCase'
export * from './types'
export * from './types'
2 changes: 2 additions & 0 deletions shared-data/js/labware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import fixtureTiprack10ul from '../labware/fixtures/2/fixture_tiprack_10_ul.json
import fixtureTiprack300ul from '../labware/fixtures/2/fixture_tiprack_300_ul.json'
import fixtureTiprack1000ul from '../labware/fixtures/2/fixture_flex_96_tiprack_1000ul.json'
import fixtureTiprackAdapter from '../labware/fixtures/2/fixture_flex_96_tiprack_adapter.json'
import fixtureCalibrationBlock from '../labware/fixtures/2/fixture_calibration_block.json'
import { getLabwareDefURI } from './helpers/index'

// v2 labware definitions
Expand Down Expand Up @@ -557,6 +558,7 @@ export {
fixtureTiprackAdapter,
opentrons96PcrAdapterV1,
opentrons1Trash3200MlFixedV1,
fixtureCalibrationBlock,
}

export { getAllLabwareDefs }
72 changes: 72 additions & 0 deletions shared-data/labware/fixtures/2/fixture_calibration_block.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"wells": {
"A1": {
"totalLiquidVolume": 0,
"xDimension": 63.88,
"yDimension": 85.5,
"shape": "rectangular",
"depth": 0,
"x": 31.94,
"y": 42.75,
"z": 33
},
"A2": {
"totalLiquidVolume": 0,
"xDimension": 63.88,
"yDimension": 85.5,
"shape": "rectangular",
"depth": 0,
"x": 95.81,
"y": 42.75,
"z": 62.5
}
},
"groups": [
{
"metadata": {
"displayName": "Opentrons Calibration Block - Short Side",
"wellBottomShape": "flat"
},
"wells": ["A1"]
},
{
"metadata": {
"displayName": "Opentrons Calibration Block - Tall Side",
"wellBottomShape": "flat"
},
"wells": ["A2"]
}
],
"brand": {
"brand": "Opentrons",
"brandId": [],
"links": []
},
"metadata": {
"displayName": "Opentrons Calibration Block - Short Side: Left",
"displayCategory": "aluminumBlock",
"displayVolumeUnits": "mL",
"tags": []
},
"dimensions": {
"xDimension": 127.75,
"yDimension": 85.5,
"zDimension": 62.5
},
"parameters": {
"format": "irregular",
"isTiprack": false,
"isMagneticModuleCompatible": false,
"loadName": "opentrons_calibrationblock_short_side_left"
},
"ordering": [["A1"], ["A2"]],
"namespace": "opentrons",
"version": 1,
"schemaVersion": 2,
"cornerOffsetFromSlot": {
"x": 0,
"y": 0,
"z": 0
}
}

4 changes: 3 additions & 1 deletion shared-data/labware/fixtures/2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import fixture_tiprack_10_ul from './fixture_tiprack_10_ul.json'
import fixture_tiprack_300_ul from './fixture_tiprack_300_ul.json'
import fixture_tiprack_1000_ul from './fixture_tiprack_1000_ul.json'
import fixture_trash from './fixture_trash.json'
import fixture_calibration_block from './fixture_calibration_block.json'

export {
fixture_12_trough_v2,
Expand All @@ -30,4 +31,5 @@ export {
fixture_tiprack_300_ul,
fixture_tiprack_1000_ul,
fixture_trash,
}
fixture_calibration_block,
}

0 comments on commit e728cf7

Please sign in to comment.