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

Release version 1.9.7 #563

Merged
merged 19 commits into from
Dec 1, 2023
Merged

Release version 1.9.7 #563

merged 19 commits into from
Dec 1, 2023

Conversation

BDonnot
Copy link
Collaborator

@BDonnot BDonnot commented Dec 1, 2023

  • [BREAKING] removal of the grid2op/Exceptions/PowerflowExceptions.py file and move the
    DivergingPowerflow as part of the BackendException. If you imported (to be avoided)
    with from grid2op.Exceptions.PowerflowExceptions import PowerflowExceptions
    simply do from grid2op.Exceptions import PowerflowExceptions and nothing
    will change.
  • [BREAKING] rename with filename starting with lowercase all the files in the "Exceptions",
    module. This is both consistent with python practice but allows also to make the
    difference between the files in the
    module and the class imported. This should have little to no impact on all codes but to "upgrade"
    instead of from grid2op.Exceptions.XXX import PowerflowExceptions (which you should not have done in the first place)
    just do from grid2op.Exceptions import PowerflowExceptions. Expect other changes like this for other grid2op modules
    in the near future.
  • [BREAKING] change the gridobj_cls.shape() and gridobj_cls.dtype() to gridobj_cls.shapes() and gridobj_cls.dtypes()
    to be more clear when dealing with action_space and observation_space (where shape and dtype are attribute and not functions)
    This change means you can still use act.shape() and act.dtype() but that act_space.shape and act_space.dtype are now
    clearly properties (and NOT attribute). For the old function gridobj_cls.dtype() you can now use gridobj_cls.dtypes()
  • [FIXED] issue Indentation fault in backend.py to update_from_obs #561 (indent issue)
  • [FIXED] issue Consistency of shunts_data_available #550 : issue with shunts_data_available now better handled
  • [IMPROVED] the function to check the backend interface now also check that
    the topo_vect returns value between 1 and 2.
  • [IMPROVED] the function to check backend now also check the topo_vect
    for each type of elements.

Copy link
Collaborator Author

@BDonnot BDonnot left a comment

Choose a reason for hiding this comment

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

looks good (wait for tests to pass)

@BDonnot BDonnot merged commit c3ae34b into master Dec 1, 2023
21 checks passed
@BDonnot BDonnot deleted the dev_1.9.7 branch January 26, 2024 10:10
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.

1 participant