pylabrobot.resources.hamilton.hamilton_decks.HamiltonDeck.load_from_lay_file#

classmethod HamiltonDeck.load_from_lay_file(fn: str) pylabrobot.resources.hamilton.hamilton_decks.HamiltonDeck#

Parse a .lay file (legacy layout definition) and build the layout on this deck.

Parameters

fn (str) – Filename of .lay file.

Return type

pylabrobot.resources.hamilton.hamilton_decks.HamiltonDeck

Examples

Loading from a lay file:

>>> from pylabrobot.resources.hamilton import HamiltonDeck
>>> deck = HamiltonDeck.load_from_lay_file("deck.lay")