-
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
Missing "name" attribute in exchanges created with Activity Browser #1242
Comments
Hey, thanks for opening this issue. You're right, AB does currently not add a The following code handles adding an exchange in AB, though note that we are working on updating the controllers right now (#1241): activity-browser/activity_browser/controllers/activity.py Lines 417 to 451 in ffa5ad8
Judging by that we've never done this, it seems it is not mandatory. However, now that I'm thinking about it it would make a lot of sense if we do it, I can imagine this to be required once we implement multifunctionality properly though, and implementing this seems very easy. I think it'd be good if we discuss this internally and see how we can best work with this. That said, this doesn't immediately fix your problem, these fields don't exist. Even if/when we'd implement this, the field would only be applied to new exchanges, which would probably not be helpful for you at all, correct? As multifunctionality is currently barely present in Brightway (and at least in AB, not implemented), I think it's safe to assume that the input product name is the exchange name? It could be an option to if We're happy to hear other suggestions or ideas though! |
I sure. I just wanted to share this issue with you so we could check whether it is a mandatory attribute or not. Thanks for this feedback. |
Updating AB
What happened?
When creating exchanges with ActivityBrowser, they miss the attribute "name" in
._data
.This field is present for all exchanges of all activities imported with ecoinvent.
Isn't it a mandatory attribute in Brightway2 ?
As a consequence, it breaks when used in lca_algebraic
Relevant errors
No response
Operating system
Linux/Other (please specify above)
Conda environment
No response
The text was updated successfully, but these errors were encountered: