File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ Next release
7373- [FIXED] the `self.skip_if_needed() ` was missing for one of the test suite.
7474- [FIXED] an error in the descirption of the `educ_case14_storage ` environment
7575 (wrong sign for the slack generator)
76+ - [FIXED] the environment would not load in case of an incorrect "layout.json"
77+ instead of raising a warning.
7678- [IMPROVED] error message when forecasts are not correctly set-up
7779
7880[1.10.3] - 2024-07-12
Original file line number Diff line number Diff line change 2222author = 'Benjamin Donnot'
2323
2424# The full version, including alpha/beta/rc tags
25- release = '1.10.4.dev0 '
25+ release = '1.10.4.dev1 '
2626version = '1.10'
2727
2828
Original file line number Diff line number Diff line change @@ -1046,6 +1046,8 @@ def make_from_dataset_path(
10461046
10471047 # Set graph layout if not None and not an empty dict
10481048 if graph_layout is not None and graph_layout :
1049- env .attach_layout (graph_layout )
1050-
1049+ try :
1050+ env .attach_layout (graph_layout )
1051+ except EnvError as exc_ :
1052+ warnings .warn (f"Error { exc_ } while setting the environment layout." )
10511053 return env
Original file line number Diff line number Diff line change 1111Grid2Op
1212
1313"""
14- __version__ = '1.10.4.dev0 '
14+ __version__ = '1.10.4.dev1 '
1515
1616__all__ = [
1717 "Action" ,
You can’t perform that action at this time.
0 commit comments