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

Allow dict_list to return other types than dictionaries #367

Open
Datseris opened this issue Nov 2, 2022 · 0 comments
Open

Allow dict_list to return other types than dictionaries #367

Datseris opened this issue Nov 2, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Easy issue good for newcomers running-listing Functionality for running and listing simulation runs

Comments

@Datseris
Copy link
Member

Datseris commented Nov 2, 2022

In many cases users may want to have the configuration parameters of their programs to be a dedicated Julia composite type. This has many advantages, including customizing savename. It would be nice if dict_list could create objects of a given composite type instead of dictionaries. Would also make the whole integration with produce_or_load simpler.

A very simple, but probably not the most performant way to do this, is to leave dict_list as is, and add a final conversion step by using our functions dict2struct and/or ntuple2struct.

@Datseris Datseris added enhancement New feature or request running-listing Functionality for running and listing simulation runs good first issue Easy issue good for newcomers labels Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Easy issue good for newcomers running-listing Functionality for running and listing simulation runs
Projects
None yet
Development

No branches or pull requests

1 participant