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

Optional inputs and ouputs enabling #169

Open
RaluAlexa opened this issue Sep 14, 2022 · 1 comment
Open

Optional inputs and ouputs enabling #169

RaluAlexa opened this issue Sep 14, 2022 · 1 comment

Comments

@RaluAlexa
Copy link

At the moment, declaring x inputs or outputs in the config means all x need to be returned in the define functions and all outputs are expected after the model run.
Enabling optional outputs will help with cases when the outputs (with different schemas) are dependent on model parameters, and a single one (or subset of all) need to be returned (e.g. scenario runs). Currently this needs to be handled from inside the model code, with conditional outputting based on parameters and empty dataframes being returned for the outputs not produced by that run.

@martin-traverse
Copy link
Contributor

Duplicate of #137

@martin-traverse martin-traverse marked this as a duplicate of #137 Dec 9, 2022
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

2 participants