pylabrobot.plate_reading.plate_reader.PlateReader.deserialize#
- classmethod PlateReader.deserialize(data: dict, allow_marshal: bool = False)#
Deserialize a resource from a dictionary.
- Parameters:
Examples
Loading a resource from a json file:
>>> from pylabrobot.resources import Resource >>> with open("my_resource.json", "r") as f: >>> content = json.load(f) >>> resource = Resource.deserialize(content)