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

Pint Parameters for Brightway2 (legacy) #125

Draft
wants to merge 21 commits into
base: bw2legacy
Choose a base branch
from

Commits on Feb 16, 2023

  1. advanced getters for ParameterizedExchange and ActivityParameter

    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    0c09c0d View commit details
    Browse the repository at this point in the history
  2. helper function to create group names

    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    f5f623c View commit details
    Browse the repository at this point in the history
  3. isort and black reformat

    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    87f6e7c View commit details
    Browse the repository at this point in the history
  4. introduce pint parameters

    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    4756c56 View commit details
    Browse the repository at this point in the history
  5. introduce helper function to overwrite parameter "data" field

    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    20be845 View commit details
    Browse the repository at this point in the history
  6. setuse_pint_parameter flag in config because it is needed in bw2io

    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    82f334c View commit details
    Browse the repository at this point in the history
  7. make __static__ methods more concise

    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    7395386 View commit details
    Browse the repository at this point in the history
  8. Introducing new helper function to retrieve parameter names from the …

    …database. Also introducing `no_pint_units` parameter into helper function `get_new_symbols`. Both are needed make sure known project and activity parameters are not interpreted as units
    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    54170b3 View commit details
    Browse the repository at this point in the history
  9. fix tests: rename parameter name bar because it can be interpreted …

    …as a pint unit
    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    1667004 View commit details
    Browse the repository at this point in the history
  10. isort and black reformat

    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    f0239fa View commit details
    Browse the repository at this point in the history
  11. function name bw2parameters.Interpreter.set_amount_and_unit changed

    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    5e4b95a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e4dd237 View commit details
    Browse the repository at this point in the history
  13. use new Interpreter / ParameterSet choosers

    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    41120f2 View commit details
    Browse the repository at this point in the history
  14. helper property functions to manipulate bw2parameters.config via `b…

    …w2data.config`
    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    8c47985 View commit details
    Browse the repository at this point in the history
  15. make sure tests in parameters.py are run for both types of interprete…

    …rs / parametersets
    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    399b20a View commit details
    Browse the repository at this point in the history
  16. add tests for recalculation of ProjectParameter, `DatabaseParameter…

    …` and `ActivityParameter` including pint units
    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    4feb859 View commit details
    Browse the repository at this point in the history
  17. add test for optional unit definition

    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    730da8d View commit details
    Browse the repository at this point in the history
  18. fix test order

    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    bd84bb6 View commit details
    Browse the repository at this point in the history
  19. make sure formulas in exchanges are evaluated even when they do no co…

    …ntain any parameters
    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    903be83 View commit details
    Browse the repository at this point in the history
  20. fix: don't forget to delete groups when a database is deleted

    Benjamin W. Portner committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    398e5d9 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2023

  1. Merge branch 'bw2legacy' into legacy-pint-parameters

    Benjamin W. Portner committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    c54f9fe View commit details
    Browse the repository at this point in the history