Skip to content

Commit ce95fa2

Browse files
authored
Enable MFX TubeHolders & TroughHolders (#707)
1 parent 3bd765a commit ce95fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylabrobot/resources/carrier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def assign_child_resource(
6363
reassign: bool = True,
6464
spot: Optional[int] = None,
6565
):
66-
if not isinstance(resource, ResourceHolder):
66+
if not isinstance(resource, (ResourceHolder, Carrier)):
6767
raise TypeError(f"Invalid resource {resource}")
6868

6969
# see if we have an index for the resource name (eg from deserialization or user specification),

0 commit comments

Comments
 (0)