pylabrobot.shaking.shaker.Shaker.load_state_from_file#

Shaker.load_state_from_file(fn: str) None#

Load the state of this resource and all children from a JSON file.

Parameters:

fn (str) – The file name to load the state from.

Return type:

None

Examples

Loading from a json file:

>>> deck.load_state_from_file("my_state.json")