From 851331e2673c25963e32fef15b6c4a5abda56d4d Mon Sep 17 00:00:00 2001 From: German Date: Mon, 9 May 2022 22:23:42 +0200 Subject: [PATCH 1/2] Adding missing package --- src/ansys/mapdl/core/misc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ansys/mapdl/core/misc.py b/src/ansys/mapdl/core/misc.py index 641a2a04230..6b7994aaaf1 100644 --- a/src/ansys/mapdl/core/misc.py +++ b/src/ansys/mapdl/core/misc.py @@ -154,6 +154,7 @@ def __init__(self, additional=None, ncol=3, text_width=80, sort=False, gpu=True) """ # Mandatory packages core = [ + "ansys.mapdl.core", "matplotlib", "numpy", "appdirs", From fc194d19022f9f7e7c5f2521216468cfd242e98e Mon Sep 17 00:00:00 2001 From: German Date: Mon, 9 May 2022 22:26:04 +0200 Subject: [PATCH 2/2] Removing duplication and making tqdm optional --- src/ansys/mapdl/core/misc.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ansys/mapdl/core/misc.py b/src/ansys/mapdl/core/misc.py index 6b7994aaaf1..ef90a20b0ec 100644 --- a/src/ansys/mapdl/core/misc.py +++ b/src/ansys/mapdl/core/misc.py @@ -155,10 +155,8 @@ def __init__(self, additional=None, ncol=3, text_width=80, sort=False, gpu=True) # Mandatory packages core = [ "ansys.mapdl.core", - "matplotlib", "numpy", "appdirs", - "tqdm", "scipy", "grpc", # grpcio "ansys.api.mapdl.v0", # ansys-api-mapdl-v0 @@ -170,7 +168,7 @@ def __init__(self, additional=None, ncol=3, text_width=80, sort=False, gpu=True) core.extend(["pexpect"]) # Optional packages - optional = ["matplotlib", "pyvista", "pyiges"] + optional = ["matplotlib", "pyvista", "pyiges", "tqdm"] if sys.version_info[1] < 9: optional.append("ansys_corba")