Skip to content

Switch driver metadata files to pickle #296

@gilrrei

Description

@gilrrei

Description of the Issue:

When the metadata files were introduced, they were only thought of as documentation of the current job, I went for a human-readable file format, YAML. This means that only standard types, i.e., floats, list etc can be exported. Since then, the metadata files have been used for restarts by returning the "outputs" stored in them, if they exist. However, since they are converted to standard types, some information might be lost.

Proposed Solution:

Change this to pickle files, which allows to store the objects directly. Pickle should also be faster to write and read.

The main downside is that it is no longer human-readable, which makes it more difficult to grep for data.

Action Items:

No response

Related Issues:

No response

Interested Parties:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: ready to implementSolution for this issue is available but implementation is missingtopic: driverIssue/PR related to the driverstype: usabilityIssue/PR to improve usability

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions