Skip to content

Add parameter groups configuration#101

Draft
TimothyWillard wants to merge 1 commit intomainfrom
push-szvpkpwpslty
Draft

Add parameter groups configuration#101
TimothyWillard wants to merge 1 commit intomainfrom
push-szvpkpwpslty

Conversation

@TimothyWillard
Copy link
Collaborator

Added parameter groups to configuration as well as a new class,
ParameterCollection, to manage parameters/groups and their
realization. Changes included:

  • Added groups attribute to the ConfigurationModel class along with
    validation to check the referenced parameters are defined in the
    parameters attribute.
  • Added the ParameterCollection class which takes parameter/group
    configuration and group names and manages the collection of required
    parameters including providing a realize method for sampling all at
    once.
  • Added the --group option to flepimop2 simulate and made use of the
    ParameterCollection class in the SimulateCommand to make groups
    available for simulating.

Closes #47.

@TimothyWillard
Copy link
Collaborator Author

From 2026-01-08 call table until after Jan 2026.

Added parameter groups to configuration as well as a new class,
`ParameterCollection`, to manage parameters/groups and their
realization. Changes included:

- Added `groups` attribute to the `ConfigurationModel` class along with
  validation to check the referenced parameters are defined in the
  `parameters` attribute.
- Added the `ParameterCollection` class which takes parameter/group
  configuration and group names and manages the collection of required
  parameters including providing a `realize` method for sampling all at
  once.
- Added the `--group` option to `flepimop2 simulate` and made use of the
  `ParameterCollection` class in the `SimulateCommand` to make groups
  available for simulating.

Closes #47.
@TimothyWillard TimothyWillard marked this pull request as draft January 12, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Groups" configuration

1 participant