entropy-lab / entropy

BSD 3-Clause "New" or "Revised" License
30 stars 13 forks source link

ParamStore: Save/load params to/from a temporary location #179

Closed urig closed 2 years ago

urig commented 2 years ago

This PR adds new functionality to ParamStore that can be useful in the earlier stages of building the experimental environment.

The method save_temp() saves all the params currently in memory to a temporary, persistent location (within the ParamStore DB file).

The method load_temp() loads any params saved into the temporary location into the ParamStore (all other values are removed from memory).

github-actions[bot] commented 2 years ago

Unit Test Results

    1 files      1 suites   52s :stopwatch: 194 tests 190 :heavy_check_mark: 4 :zzz: 0 :x:

Results for commit ddd799d2.

:recycle: This comment has been updated with latest results.

urig commented 2 years ago

@qguyk , @galwiner this PR is now ready for review and merge. Your feedback is most welcome :)