memote.suite.results.result_manager

Provide the memote result managers for various storage backends.

Module Contents

Classes

ResultManager Manage storage of results to JSON files.
class memote.suite.results.result_manager.ResultManager(**kwargs)[source]

Bases: object

Manage storage of results to JSON files.

store(self, result, filename, pretty=True)[source]

Write a result to the given file.

Parameters:
result : memote.MemoteResult

The dictionary structure of results.

filename : str or pathlib.Path

Store results directly to the given filename.

pretty : bool, optional

Whether (default) or not to write JSON in a more legible format.

load(self, filename)[source]

Load a result from the given JSON file.