pylabrobot.resources.hamilton.hamilton_decks.HamiltonDeck.load_from_lay_file

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

classmethod HamiltonDeck.load_from_lay_file(fn: str) HamiltonDeck#

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

Parameters:

fn (str) – Filename of .lay file.

Return type:

HamiltonDeck

Examples

Loading from a lay file:

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