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

Remove convenience data #272

Merged
merged 8 commits into from
Aug 23, 2019
Merged

Remove convenience data #272

merged 8 commits into from
Aug 23, 2019

Conversation

dgdekoning
Copy link
Contributor

Completely replace ConvenienceData with some additional code in the MetaDataStore.

The one place where convenience_data was still being used caused a significant slowdown due to needing to read a brightway database. As this information is already present in the metadata store, I've added some simple methods and wiring to make the metadata store do the same thing.

This means that whenever the user clicks 'edit activity' in an activity tab the metadata is queried instead of the database, making it much more responsive.

@dgdekoning dgdekoning added the feature Issues/PRs related to a new feature label Aug 23, 2019
@coveralls
Copy link

coveralls commented Aug 23, 2019

Coverage Status

Coverage decreased (-0.02%) to 43.706% when pulling ae1a54e on dgdekoning:remove-convenience-data into c27c8b0 on LCA-ActivityBrowser:master.

@dgdekoning dgdekoning merged commit a3ca75d into LCA-ActivityBrowser:master Aug 23, 2019
@dgdekoning dgdekoning deleted the remove-convenience-data branch September 3, 2019 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Issues/PRs related to a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants