Skip to content

Trained parameters are not loaded from state file. #42

@eirrgang

Description

@eirrgang

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions