Skip to content

Commit

Permalink
feat(shared-data): Add more new labware definitions to shared-data (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Laura-Danielle authored Dec 10, 2018
1 parent 2052f49 commit 9737196
Show file tree
Hide file tree
Showing 31 changed files with 13,028 additions and 308 deletions.
6 changes: 3 additions & 3 deletions api/tests/opentrons/protocol_api/test_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def test_pipette_info(loop):
def test_pick_up_and_drop_tip(loop, load_my_labware):
ctx = papi.ProtocolContext(loop)
ctx.home()
tiprack = ctx.load_labware_by_name('Opentrons_96_tiprack_300_uL', 1)
tiprack = ctx.load_labware_by_name('opentrons_96_tiprack_300_uL', 1)
tip_lenth = tiprack.tip_length
mount = Mount.LEFT

Expand All @@ -139,10 +139,10 @@ def test_pick_up_tip_no_location(loop, load_my_labware):
ctx = papi.ProtocolContext(loop)
ctx.home()

tiprack1 = ctx.load_labware_by_name('Opentrons_96_tiprack_300_uL', 1)
tiprack1 = ctx.load_labware_by_name('opentrons_96_tiprack_300_uL', 1)
tip_lenth1 = tiprack1.tip_length

tiprack2 = ctx.load_labware_by_name('Opentrons_96_tiprack_300_uL', 2)
tiprack2 = ctx.load_labware_by_name('opentrons_96_tiprack_300_uL', 2)
tip_length2 = tip_lenth1 + 1.0
tiprack2.tip_length = tip_length2

Expand Down
6 changes: 3 additions & 3 deletions api/tests/opentrons/protocol_api/test_labware.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def test_well_parent():


def test_tip_tracking_init():
labware_name = 'Opentrons_96_tiprack_300_uL'
labware_name = 'opentrons_96_tiprack_300_uL'
labware_def = labware._load_definition_by_name(labware_name)
tiprack = labware.Labware(labware_def,
Location(Point(0, 0, 0), 'Test Slot'))
Expand All @@ -215,7 +215,7 @@ def test_tip_tracking_init():


def test_use_tips():
labware_name = 'Opentrons_96_tiprack_300_uL'
labware_name = 'opentrons_96_tiprack_300_uL'
labware_def = labware._load_definition_by_name(labware_name)
tiprack = labware.Labware(labware_def,
Location(Point(0, 0, 0), 'Test Slot'))
Expand Down Expand Up @@ -254,7 +254,7 @@ def test_use_tips():


def test_select_next_tip():
labware_name = 'Opentrons_96_tiprack_300_uL'
labware_name = 'opentrons_96_tiprack_300_uL'
labware_def = labware._load_definition_by_name(labware_name)
tiprack = labware.Labware(labware_def,
Location(Point(0, 0, 0), 'Test Slot'))
Expand Down
7 changes: 6 additions & 1 deletion labware-designer/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Overview

This is a simple browser tool which can be used to generate labware definitions for _regular_ labware (labware that is
This is a simple browser tool which can be used to generate labware definitions for _regular_ labware (labware that is
laid out on a grid, and where all wells have consistent dimensions), or _irregular_ labware.

### What is a 'regular' labware?
Expand Down Expand Up @@ -192,6 +192,11 @@ brand = {

"brandId" is used when a definition accurately reflects several products

## Explanation of Numerical inputs
See diagram below:

![Labware Dimension Diagram](https://user-images.githubusercontent.com/31892318/48797647-c35ffa80-ecd0-11e8-823a-e40f903a90c8.png)

## Example Input-Output

Given this sequence of commands in the console:
Expand Down
2 changes: 1 addition & 1 deletion shared-data/definitions/opentrons-tuberack-50ml.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@
"z": 7.78
}
}
}
}
284 changes: 0 additions & 284 deletions shared-data/definitions2/Opentrons_24_tuberack_1.5_mL_Eppendorf.json

This file was deleted.

Loading

0 comments on commit 9737196

Please sign in to comment.