Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trained parameters are not loaded from state file. #42

Open
eirrgang opened this issue Dec 22, 2022 · 0 comments
Open

Trained parameters are not loaded from state file. #42

eirrgang opened this issue Dec 22, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@eirrgang
Copy link
Collaborator

The initialization from state.json has a gross oversight when loading pair paramters.

pair_params = {name: PairParams(name=name, sites=fields['sites']) for name, fields in

should be changed to

            pair_params = {name: PairParams(name=name, **fields) for name, fields in

@carolinedav has an example state file that was not restored properly. We can use it as the basis for an improved test of the run_data module.

@eirrgang eirrgang added the bug Something isn't working label Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant