chemistrylab.lab package

class chemistrylab.lab.shelf.Shelf(vessels, n_working=1)[source]

Bases: object

The shelf class holds vessels from experiments.

pop, __getitem__, __delitem__, and append are implemented so shelves can be used similar to a list of vessels

append(vessel: Vessel)[source]
get_vessels()[source]
get_working_vessels()[source]

Returns a tuple of the ‘working’ vessels used for observations and rewards.

load_vessel(path: str)[source]

TODO: Implement this Args: - path (str): the path to the vessel that is to be loaded

pop()[source]
reset(target=None)[source]

TODO: Update this along with __init__ Resets the shelf to it’s initial state

class chemistrylab.lab.shelf.VariableShelf(variable_vessels: list, fixed_vessels: list, n_working=1)[source]

Bases: Shelf

Shelf which is given a set of fixed and variable vessels. On reset the original vessels are deepcopied into new vessel objects

reset(target=None)[source]

TODO: Update this along with __init__ Resets the shelf to it’s initial state