-
Notifications
You must be signed in to change notification settings - Fork 58
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
Resolve scenario calculation bug #1126
Merged
marc-vdm
merged 79 commits into
LCA-ActivityBrowser:master
from
marc-vdm:scenarios_failing_1103
Dec 13, 2023
Merged
Resolve scenario calculation bug #1126
marc-vdm
merged 79 commits into
LCA-ActivityBrowser:master
from
marc-vdm:scenarios_failing_1103
Dec 13, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… the parameter scenario files.
How to install using Mamba
…es (LCA-ActivityBrowser#1069) * Updates to the functions from de Koning (get_relevant_flows and get_relevant_activities), avoiding use of pandas apply and using python map functionality for splitting pandas dataframes. * Update the use of DataFrame.applymap to DataFrame.map in the excel file importer module.
* Updates to the logging system to avoid the print statement. Merging with commits for corrections to the uncertainty distributions that were included within the same branch. Improves thread safety in logging increasing stability in the multi-threaded processes. * Changes the creation of log files. Amends the uncertainty wizard test to correct for use of logging over the standard console. Adds the .logs to .gitignore. * 1) Simplifies the use of the python logging facility with QtThreads (as published on the python docs for logging), improving the stability of logging.\n2) Changes the generation of the logging object that is more compatible with pytest, supporting the existing test procedures. * Provides an update to the Model for the calculation_setup Methods table, corrects for deletion of impact assessment methods. Updates the routine to the lca_setup module for calling the logger. * Updates to the logger module, what was the ABLogger class is renamed to ABHandler. The module now contains the formats and settings for the Stream handlers. Calling of the methods in the other AB modules requires passing a logging.Logger instance and the name of the calling module. These are then incorporated into the wrapping routines in the class. Additions:\n 1) An error wrapper is provided and also explicitly provides a trace of the error.\n 2) A timestamp routine is provided and used for providing the file names for log files.\n 3) A standard location based on appdirs is provided and used for log file locations. * Corrections to the setup of the logger in the test_uncertainty_wizard module * Includes a change to the type used for the scenario columns when using multiple files with the combined (combinatoric) approach for the scenarios. Includes respective changes to the boolean tests applied to such Indexes. * Minor corrections to local repository branch, to keep changes aligned * Alterations to keep minor changes aligned with master branch and fork --------- Co-authored-by: zoo <[email protected]>
* Add - copy on impact category copy LCA-ActivityBrowser#1133 * Reorder impact category tree context menu
* Switch project on delete LCA-ActivityBrowser#1075 * Cleaning up ProjectController.change_project * Resolving comments by marc-vdm
…ity-browser � Conflicts: � .github/PULL_REQUEST_TEMPLATE.md
Auto point to new release
GH action script for commenting on issues when related milestone is c…
GH action script for commenting on issues when related milestone is c…
GH action script for commenting on issues when related milestone is c…
Automated review instructions
review instructions bot
This issue has been implemented in the new release of Activity Browser 🚀 (version 2.9.3), you can get the new version by updating Activity Browser. 🤖beep boop! I'm a bot and this message was an automated action. If updating does not make sense for this issue, just ignore this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
AB created keys for the pandas dataframe where results are stored and dropdowns for users to select different combinations of FU/IC/scenario. The keys were not unique for processes that had the same name and database. They are now unique on: name, reference product, database and amount. The last one is also required for -but does not resolve- #920
@mrvisscher: can be closed as squashcommit
Checklist
bug
,feature
,ui
,change
,documentation
,breaking
,ci
as they show up in the changelog