Skip to content

Commit

Permalink
adressing issue #81
Browse files Browse the repository at this point in the history
  • Loading branch information
BDonnot committed Apr 5, 2024
1 parent 3b9c945 commit 61ce186
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lightsim2grid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
except ImportError as exc_:
# grid2op is not installed, the Backend will not be available
pass
print(f"LightSimBackend import error: {exc_}")
# print(f"LightSimBackend import error: {exc_}")

try:
from lightsim2grid.physical_law_checker import PhysicalLawChecker
__all__.append("PhysicalLawChecker")
except ImportError as exc_:
# grid2op is not installed, the PhysicalLawChecker will not be available
pass
print(f"PhysicalLawChecker import error: {exc_}")
# print(f"PhysicalLawChecker import error: {exc_}")

try:
from lightsim2grid.timeSerie import TimeSerie
Expand All @@ -37,7 +37,7 @@
except ImportError as exc_:
# grid2op is not installed, the TimeSeries module will not be available
pass
print(f"TimeSerie import error: {exc_}")
# print(f"TimeSerie import error: {exc_}")

try:
from lightsim2grid.contingencyAnalysis import ContingencyAnalysis
Expand All @@ -46,12 +46,12 @@
except ImportError as exc_:
# grid2op is not installed, the SecurtiyAnalysis module will not be available
pass
print(f"ContingencyAnalysis import error: {exc_}")
# print(f"ContingencyAnalysis import error: {exc_}")

try:
from lightsim2grid.rewards import *
__all__.append("rewards")
except ImportError as exc_:
# grid2op is not installed, the SecurtiyAnalysis module will not be available
pass
print(f"rewards import error: {exc_}")
# print(f"rewards import error: {exc_}")

0 comments on commit 61ce186

Please sign in to comment.