Getting Started
Liquid handling
API documentation
Save a resource to a JSON file.
fn (str) – File name. Caution: file will be overwritten.
indent (Optional[int]) – Same as json.dump’s indent argument (for json pretty printing).
json.dump
indent
Examples
Saving to a json file:
>>> from pylabrobot.resources.hamilton import STARLetDeck >>> deck = STARLetDeck() >>> deck.save("my_layout.json")