From 87452e6564e577198f395a173c30dc9cae251256 Mon Sep 17 00:00:00 2001 From: ben-ray Date: Sat, 8 Mar 2025 22:29:18 -0800 Subject: [PATCH 1/2] grey-tabbed mfx plateholder pedestal height is 0 --- pylabrobot/resources/hamilton/mfx_modules.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pylabrobot/resources/hamilton/mfx_modules.py b/pylabrobot/resources/hamilton/mfx_modules.py index 235a8dde1ea..4521fec88ed 100644 --- a/pylabrobot/resources/hamilton/mfx_modules.py +++ b/pylabrobot/resources/hamilton/mfx_modules.py @@ -43,8 +43,10 @@ def MFX_DWP_rackbased_module(name: str) -> PlateHolder: def MFX_DWP_module_flat(name: str) -> PlateHolder: """Hamilton cat. no.: 6601988-01 - Module to position a Deep Well Plate. Flat, plastic base; no metal clamps like + Module to position a Deep Well Plate. Flat, metal base; no metal clamps like MFX_DWP_rackbased_module. + Grey plastic corner clips secure plate. Plates rest on corners, + rather than pedestal, so pedestal_size_z=0, """ width = 134.0 @@ -57,5 +59,5 @@ def MFX_DWP_module_flat(name: str) -> PlateHolder: size_z=66.4, # measured with caliper child_location=Coordinate(x=(width - 127.76) / 2, y=(length - 85.48) / 2, z=66.4), model=MFX_DWP_rackbased_module.__name__, - pedestal_size_z=-4.74, + pedestal_size_z=0, ) From 40bb95c758d087f481af73e649ab133a84b9a29e Mon Sep 17 00:00:00 2001 From: ben-ray Date: Sat, 8 Mar 2025 22:34:22 -0800 Subject: [PATCH 2/2] ruff? --- docs/resources/carrier/mfx-carrier/mfx_carriers.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/resources/carrier/mfx-carrier/mfx_carriers.ipynb b/docs/resources/carrier/mfx-carrier/mfx_carriers.ipynb index 3d8276f3ffd..cbf32011401 100644 --- a/docs/resources/carrier/mfx-carrier/mfx_carriers.ipynb +++ b/docs/resources/carrier/mfx-carrier/mfx_carriers.ipynb @@ -185,8 +185,8 @@ "source": [ "try:\n", " carrier[1]\n", - "except KeyError as e:\n", - " print(f\"KeyError, as expected.\")" + "except KeyError:\n", + " print(\"KeyError, as expected.\")" ] }, {