osl_dynamics.models.base.legacy.convert_config#

osl_dynamics.models.base.legacy.convert_config(config_dict, fields)#

Convert a config saved with osl-dynamics 3.0 to 3.9.

Parameters:
config_dictdict

Saved config.

fieldslist of str

Names of the fields of the config class. Other settings are dropped.

Returns:
config_dictdict

Values to create the config with.