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

fix: Don't double capacity on data returned in providers CSV #729

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

ggiraldez
Copy link
Member

Fixes #726

We're using merge-providers to construct the final data to export, which gathers providers and their attributes from several sources: providers set, scenario changeset and scenario providers data. Since merge-providers adds up its numeric fields, we were adding the capacity both from the final value found in :providers-data and the original provider set and/or the changeset.

We're using `merge-providers` to construct the final data to export, which
gathers providers and their attributes from several sources: providers set,
scenario changeset and scenario providers data. Since `merge-providers` adds up
its numeric fields, we were adding the capacity both from the final value found
in `:providers-data` and the original provider set and/or the changeset.
@ggiraldez ggiraldez merged commit 934f9a3 into main Apr 30, 2024
4 checks passed
@ggiraldez ggiraldez deleted the fix/726-scenarios-csv-capacity branch April 30, 2024 21:01
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.

Issues in capacity calculation on scenarios CSV
1 participant