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

New constructor for EnsembleParameterTable #205

Closed
Tracked by #212
Maximilian-Stefan-Ernst opened this issue May 17, 2024 · 0 comments
Closed
Tracked by #212

New constructor for EnsembleParameterTable #205

Maximilian-Stefan-Ernst opened this issue May 17, 2024 · 0 comments

Comments

@Maximilian-Stefan-Ernst
Copy link
Collaborator

          Maybe we want to have something like this:

EnsembleParameterTable(ps::Pair{K, V}...; params = nothing) where {K, V} = EnsembleParameterTable(Dict(ps...); params = params)

So users can just write

partable = EnsembleParameterTable(:Pasteur => specification_g1, :Grant_White => specification_g2))

instead of having to construct the Dict themselves every time:

partable = EnsembleParameterTable(
    Dict(:Pasteur => specification_g1, :Grant_White => specification_g2),
)

Originally posted by @Maximilian-Stefan-Ernst in #203 (comment)

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

No branches or pull requests

1 participant