Skip to content

Commit

Permalink
FIX: Add forgotten import
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys committed Oct 29, 2024
1 parent 0fd834a commit 601eb07
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/ansys/aedt/core/modeler/advanced_cad/stackup_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,24 @@
# SOFTWARE.

import os
import warnings

try:
import joblib
except ImportError: # pragma: no cover
joblib = None
warnings.warn(
"The Joblib module is required to use functionalities provided by the module ansys.edt.core.modeler.advanced_cad.stacku_3d.\n"
"The Joblib module is required to use functionalities provided by the module "
"ansys.edt.core.modeler.advanced_cad.stacku_3d.\n"
"Install with \n\npip install joblib"
)
try:
import numpy as np
except ImportError: # pragma: no cover
np = None
warnings.warn(
"The Numpy module is required to use functionalities provided by the module ansys.edt.core.modeler.advanced_cad.stacku_3d.\n"
"The Numpy module is required to use functionalities provided by the module "
"ansys.edt.core.modeler.advanced_cad.stacku_3d.\n"
"Install with \n\npip install numpy"
)

Expand Down

0 comments on commit 601eb07

Please sign in to comment.