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

Json importer #139

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Json importer #139

wants to merge 12 commits into from

Conversation

shirubana
Copy link

fixes for OpenLCA USLCI importing

README.rst Outdated
@@ -1,3 +1,6 @@
This is a fork of the original brightway2-io. My intention is to be able to import USLCI database using the JSON-LD importer.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert this one for the PR.

@@ -132,7 +132,7 @@ def boolcheck(lst):
{
"code": obj["@id"],
"name": obj["name"],
"categories": category_mapping[obj["category"]["@id"]],
"categories": category_mapping[obj["category"]["@id"]], #There is no 'category'... does he mean 'type'?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does the olca-schema say about this ?

@cmutel
Copy link
Member

cmutel commented Sep 17, 2023

This is an amazing contribution, but also quite big. I don't feel comfortable reviewing or merging this without some tests.

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.

4 participants