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

Updated scenario calculations #1023

Merged
merged 2 commits into from
Aug 28, 2023

Conversation

Zoophobus
Copy link
Contributor

Checklist

  • Keep pull requests small so they can be easily reviewed.
  • Categorize the PR by setting a good title and adding one of the labels:
    bug, feature, ui, change, documentation, breaking, ci
    as they show up in the changelog

Zoophobus and others added 2 commits August 26, 2023 19:38
…od: Used to update the technosphere and biosphere matrices to include the values from Scenarios. Updates now involve the use of copied matrices so that the original database values are not lost and can be used on repeated iterations of scenario calculations. Expected behaviour is, therefore, that each scenario will use self defined values and the values from the database where no value is defined.
@Zoophobus Zoophobus added the bug Issues/PRs related to bugs label Aug 26, 2023
@Zoophobus
Copy link
Contributor Author

@bsteubing this should correct for the behaviour that you predicted in the last meeting. This was also the behaviour that confused me and led me to set default values on creating the scenario dataframe. The original approach is ultimately far preferable, but should be more predictable with these changes.

@coveralls
Copy link

Coverage Status

coverage: 50.882% (+0.04%) from 50.84% when pulling 188468c on Zoophobus:scenario_calculations into 127951c on LCA-ActivityBrowser:master.

@Zoophobus Zoophobus merged commit 4488bb8 into LCA-ActivityBrowser:master Aug 28, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues/PRs related to bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants