-
Notifications
You must be signed in to change notification settings - Fork 32
Switch driver metadata files to pickle #296
Copy link
Copy link
Open
Labels
status: ready to implementSolution for this issue is available but implementation is missingSolution for this issue is available but implementation is missingtopic: driverIssue/PR related to the driversIssue/PR related to the driverstype: usabilityIssue/PR to improve usabilityIssue/PR to improve usability
Metadata
Metadata
Assignees
Labels
status: ready to implementSolution for this issue is available but implementation is missingSolution for this issue is available but implementation is missingtopic: driverIssue/PR related to the driversIssue/PR related to the driverstype: usabilityIssue/PR to improve usabilityIssue/PR to improve usability
Type
Fields
Give feedbackNo fields configured for issues without a type.
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