File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
pylabrobot/resources/opentrons Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 55def opentrons_96_deep_well_temp_mod_adapter (name : str ) -> PlateHolder :
66 z_offset = 5.1
77 return load_ot_plate_holder (
8- "opentrons_96_well_aluminum_block " , z_offset = z_offset , plr_resource_name = name
8+ "opentrons_96_deep_well_temp_mod_adapter " , z_offset = z_offset , plr_resource_name = name
99 )
Original file line number Diff line number Diff line change @@ -27,7 +27,10 @@ def _download_ot_resource_file(ot_name: str, force_download: bool):
2727 The labware definition as a dictionary.
2828 """
2929 url = f"https://raw.githubusercontent.com/Opentrons/opentrons/5b51a98ce736b2bb5aff780bf3fdf91941a038fa/shared-data/labware/definitions/2/{ ot_name } /1.json"
30- path = f"/tmp/{ ot_name } .json"
30+ if os .path .exists ("/tmp" ):
31+ path = f"/tmp/{ ot_name } .json" # only works with linux/mac systems
32+ else :
33+ path = f"C:/Windows/Temp/{ ot_name } .json"
3134 if force_download or not os .path .exists (path ):
3235 data = _download_file (url = url , local_path = path )
3336 else :
@@ -169,5 +172,6 @@ def load_ot_plate_holder(
169172 size_y = data ["dimensions" ]["yDimension" ],
170173 size_z = data ["dimensions" ]["zDimension" ],
171174 child_location = Coordinate (location ["x" ], location ["y" ], z_offset ),
175+ pedestal_size_z = 0 ,
172176 model = data ["metadata" ]["displayName" ],
173177 )
You can’t perform that action at this time.
0 commit comments