Skip to content

Commit 62a3653

Browse files
committed
remove commented code [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
1 parent 18120db commit 62a3653

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

grid2op/Parameters.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -624,11 +624,7 @@ def check_valid(self):
624624
raise RuntimeError(
625625
f'Impossible to convert SOFT_OVERFLOW_THRESHOLD to float with error \n:"{exc_}"'
626626
) from exc_
627-
# if self.SOFT_OVERFLOW_THRESHOLD < 1.0:
628-
# raise RuntimeError(
629-
# "SOFT_OVERFLOW_THRESHOLD < 1., this should be >= 1. (use env.set_thermal_limit "
630-
# "to modify the thermal limit)"
631-
# )
627+
632628
if self.SOFT_OVERFLOW_THRESHOLD >= self.HARD_OVERFLOW_THRESHOLD:
633629
raise RuntimeError(
634630
"self.SOFT_OVERFLOW_THRESHOLD >= self.HARD_OVERFLOW_THRESHOLD this would that the"

0 commit comments

Comments
 (0)