Source code for science_jubilee.decks.Plate

from pathlib import Path


[docs] class PlateStateError(Exception): """Raise this error if the plate is in the wrong state to perform such a command.""" pass
[docs] class PlateConfigurationError(Exception): """Raise this error if there is something wrong with how the plate is configured""" pass
[docs] class Plate: def __init__(self, machine, name):
[docs] self._machine = machine
[docs] self._name = name
[docs] def get_root_dir(self): return Path(__file__).parent.parent.parent