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

Meta support for model/scenario levels #353

Merged
merged 38 commits into from
Aug 17, 2020
Merged

Meta support for model/scenario levels #353

merged 38 commits into from
Aug 17, 2020

Commits on Aug 6, 2020

  1. Configuration menu
    Copy the full SHA
    8b486c2 View commit details
    Browse the repository at this point in the history
  2. Meta: rename scenario meta methods

    To allow for the generic get_meta, set_meta, delete_meta methods,
    rename the scenario specific meta methods.
    fonfon committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    beecfe6 View commit details
    Browse the repository at this point in the history
  3. Meta: add Platform method to get/set meta

    - update ixmp.jar
    - add Platform.get_meta, Platform.set_meta
    - add some tests (only two pass so far)
    
    TODO: make all tests pass, maybe add more tests
    fonfon committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    e4e5ba1 View commit details
    Browse the repository at this point in the history
  4. Minor changes

    - remove redundant backend methods from platform
    - use unwrap to handle BigDecimals
    - fix tests
    - replace ixmp.jar (freshly built from appropriate branch)
    zikolach authored and fonfon committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    9f5c59e View commit details
    Browse the repository at this point in the history
  5. Update Meta tests

    - look for more specific errors
    - add new test for Model+Scenario Meta
    fonfon committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    05e29ee View commit details
    Browse the repository at this point in the history
  6. Update ixmp.jar

    - set_meta void return type
    - set meta version parameter type
    zikolach authored and fonfon committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    24e142c View commit details
    Browse the repository at this point in the history
  7. Meta: Implement Platform.remove meta; add tests

    - implement Platform.remove_meta
    - deprecate Scenario.delete_meta (Scenario.remove_meta should be used)
    - add more tests
    fonfon committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    f602c39 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    84d1677 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0fc7407 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    41e34ff View commit details
    Browse the repository at this point in the history
  11. Expose adding model/scenario names

    - update jar
    zikolach authored and fonfon committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    afe9657 View commit details
    Browse the repository at this point in the history
  12. Meta: add more tests

    fonfon committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    db6df29 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9032806 View commit details
    Browse the repository at this point in the history
  14. Add models/scenarios list methods

    - add tests
    zikolach authored and fonfon committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    3054d37 View commit details
    Browse the repository at this point in the history
  15. Meta: add release notes, update documentation

    - add release notes
    - update docstrings
    - remove unused backend method delete_scenario_meta
    fonfon committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    0a48369 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    554f5bf View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    65b67b2 View commit details
    Browse the repository at this point in the history
  18. Fix saving mixed metadata + test

    zikolach authored and fonfon committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    5c47c2e View commit details
    Browse the repository at this point in the history
  19. Meta: documentation, release notes, consistent names

    - update sphinx documentation
    - consistently use "meta category" instead of "meta attribute"
    - update release notes
    fonfon committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    87681fa View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    41e6aec View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    261efb8 View commit details
    Browse the repository at this point in the history
  22. Rename Platform.list_models to .models/.scenarios

    To be more consistent with existing Platform methods like
    .regions() and .units():
    - rename Platform.list_models to Platform.models
    - rename Platform.list_scenarios to Platform.scenarios
    fonfon committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    c11cdc7 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    ce037f3 View commit details
    Browse the repository at this point in the history
  24. Meta: minor doc updates

    fonfon committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    f36f77f View commit details
    Browse the repository at this point in the history
  25. Meta: update ixmp.jar, update+add tests

    - Platform.get_meta() does not allow empty arguments
    - update ixmp.jar with bugfix of
      https://github.com/iiasa/ixmp_source/pull/329
    - update and add tests
    fonfon committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    6df062f View commit details
    Browse the repository at this point in the history
  26. Meta documentation update: valid args

    describe valid args of getting/setting/deleting meta indicators
    fonfon committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    9ba12e3 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    7699af5 View commit details
    Browse the repository at this point in the history
  28. Flake8 fix: unused f-string

    fonfon committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    832654f View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2020

  1. Platform.get_meta: add 'strict' parameter

    'strict' will only retrieve meta indicators from the exact given level
    (model, scenario, version combination).
    fonfon committed Aug 10, 2020
    Configuration menu
    Copy the full SHA
    6205c42 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2020

  1. Configuration menu
    Copy the full SHA
    9c03359 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    004fa85 View commit details
    Browse the repository at this point in the history
  3. Adapt changed error message.

    fonfon committed Aug 13, 2020
    Configuration menu
    Copy the full SHA
    ff03ede View commit details
    Browse the repository at this point in the history
  4. Rename scenario/model methods

    - to distinguish from Scenario/Model objects, rename methods to
      get/retrieve scenarios/models to scenario_name and model_name
    - adapt documentation of parameters
    fonfon committed Aug 13, 2020
    Configuration menu
    Copy the full SHA
    84ffa4a View commit details
    Browse the repository at this point in the history
  5. Update documentation.

    - Adapt to renamed method names
    - some minor documentation fixes/updates
    fonfon committed Aug 13, 2020
    Configuration menu
    Copy the full SHA
    1f7cba3 View commit details
    Browse the repository at this point in the history
  6. Fix minor flake8 syntax error.

    fonfon committed Aug 13, 2020
    Configuration menu
    Copy the full SHA
    e7c48ee View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2020

  1. Update release notes and backend test

    - update release notes to changed method names
    - remove methods from backend test
    fonfon committed Aug 17, 2020
    Configuration menu
    Copy the full SHA
    a939e1e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    43a45a5 View commit details
    Browse the repository at this point in the history
  3. Minor release notes adaption.

    - correct method name to get_model_names() from model_names()
    fonfon committed Aug 17, 2020
    Configuration menu
    Copy the full SHA
    8f78a8c View commit details
    Browse the repository at this point in the history