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

Add custom allocation functions and validation #21

Merged
merged 6 commits into from
Sep 4, 2024
Merged

Conversation

cmutel
Copy link
Member

@cmutel cmutel commented Sep 2, 2024

Builds on brightway-lca/brightway2-data#184; tests won't pass until that is merged but they pass on my machine.

You can add and persist custom allocation functions. We can also run check_property_for_allocation and get structured output on what needs to be fixed before a new allocation function can be used. Feels a bit enterprise-y, but at least it is well defined. See the code and tests.

@cmutel cmutel merged commit 35bd0dc into main Sep 4, 2024
@cmutel cmutel deleted the custom-allocation branch September 4, 2024 21:24
@jsvgoncalves jsvgoncalves removed their request for review September 5, 2024 11:17
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.

2 participants