Skip to content

Commit

Permalink
add debugging infos
Browse files Browse the repository at this point in the history
  • Loading branch information
Patarimi committed Oct 24, 2024
1 parent 921254d commit d85dd84
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hades/wrappers/oems.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@
if shutil.which("openEMS"):
if "OPENEMS_INSTALL_PATH" not in os.environ:
os.environ["OPENEMS_INSTALL_PATH"] = dirname(shutil.which("openEMS"))
from CSXCAD import CSXCAD
from openEMS.openEMS import openEMS
else:
logging.error("openEMS not found")
paths = os.environ["PATH"].split(";" if os.name == "nt" else ":")
[logging.info(f"{p}") for p in paths]
from CSXCAD import CSXCAD
from openEMS.openEMS import openEMS

from hades.layouts.tools import Port

Expand Down

0 comments on commit d85dd84

Please sign in to comment.