File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 34
34
close_all_local_instances ,
35
35
find_ansys ,
36
36
get_ansys_path ,
37
- launch_mapdl ,
38
37
save_ansys_path ,
39
38
)
39
+
40
+ # override default launcher when on pyansys.com
41
+ if "ANSJUPHUB_VER" in os .environ : # pragma: no cover
42
+ from ansys .mapdl .core .jupyter import launch_mapdl_on_cluster as launch_mapdl
43
+ else :
44
+ from ansys .mapdl .core .launcher import launch_mapdl
45
+
40
46
from ansys .mapdl .core .mapdl_grpc import MapdlGrpc as Mapdl
41
47
from ansys .mapdl .core .misc import Information , Report , _check_has_ansys
42
48
from ansys .mapdl .core .pool import LocalMapdlPool
57
63
except : # pragma: no cover
58
64
pass
59
65
60
-
61
- # override default launcher when on pyansys.com
62
- if "ANSJUPHUB_VER" in os .environ :
63
- from ansys .mapdl .core .jupyter import launch_mapdl_on_cluster as launch_mapdl
64
-
65
-
66
66
BUILDING_GALLERY = False
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ def launch_mapdl_on_cluster(
49
49
may segfault.
50
50
loglevel : str, optional
51
51
Sets which messages are printed to the console. Default
52
- ``'INFO'`` logs out all MAPDL messages, ``'WARNING` `` prints only
52
+ ``'INFO'`` logs out all MAPDL messages, ``'WARNING' `` prints only
53
53
messages containing MAPDL warnings, and ``'ERROR'`` prints only
54
54
error messages.
55
55
additional_switches : str, optional
You can’t perform that action at this time.
0 commit comments