Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Filter #342

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix typing
ben-ray committed Jan 5, 2025

Verified

This commit was signed with the committer’s verified signature.
commit 575d7729050d650abdcb6ff800bf26016b65f415
14 changes: 8 additions & 6 deletions pylabrobot/resources/filter.py
Original file line number Diff line number Diff line change
@@ -20,7 +20,6 @@ def __init__(
size_x: float,
size_y: float,
size_z: float,
nesting_z_height: float,
category: str = "filter",
model: Optional[str] = None,
):
@@ -31,15 +30,18 @@ def __init__(
size_z=size_z,
category=category,
model=model,
nesting_z_height=nesting_z_height,
)

async def move_filter(
self, lh: LiquidHandler, to_dest: Union[Plate, ResourceHolder], arm: str = "core", **kwargs
self,
lh: LiquidHandler,
to_dest: Union[Plate, ResourceHolder, Coordinate],
arm: str = "core",
**kwargs,
):
"""move filter from CarrierSite to a Plate using core grippers (faster) or iSWAP (slower)"""
await lh.move_lid(
lid=self,
await lh.move_resource(
resource=self,
to=to_dest,
use_arm=arm,
pickup_distance_from_top=15,
@@ -76,4 +78,4 @@ async def dispense_through_filter(


def RetroFilterv4(name: str) -> Filter:
return Filter(name=name, size_x=129, size_y=88, size_z=19.7, nesting_z_height=2)
return Filter(name=name, size_x=129, size_y=88, size_z=19.7)