Skip to content

Commit d6662d4

Browse files
committed
vantagedeck place holder in simulator
1 parent b5673ff commit d6662d4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

pylabrobot/liquid_handling/backends/simulation/simulator/lib.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,11 @@ function classForResourceType(type) {
821821
return TipCarrier;
822822
case "Container":
823823
return Container;
824+
case "VantageDeck":
825+
alert(
826+
"VantageDeck is not completely implemented yet: the trash and plate loader are not drawn"
827+
);
828+
return HamiltonDeck;
824829
default:
825830
return Resource;
826831
}

pylabrobot/resources/hamilton/vantage_decks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@ def rails_to_location(self, rails: int) -> Coordinate:
3737

3838
def serialize(self) -> dict:
3939
return {
40+
**super().serialize(),
4041
"size": self.size,
4142
}

0 commit comments

Comments
 (0)