Skip to content

Commit 9b4260a

Browse files
Bug fixed, frequency sweep must not be considered to retrieve mesh and profile. Only LastAdaptive.
1 parent 83d9d56 commit 9b4260a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pyaedt/desktop.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import time
2424
import traceback
2525
import warnings
26-
from distutils.version import StrictVersion
2726

2827
from pyaedt import is_ironpython
2928

@@ -365,7 +364,7 @@ def __init__(
365364
print("Launching PyAEDT outside AEDT with IronPython.")
366365
self._init_ironpython(non_graphical, new_desktop_session, version)
367366
elif _com == "pythonnet_v3":
368-
if StrictVersion(version_key) < StrictVersion("2022.2.0") or not settings.use_grpc_api:
367+
if version_key < "2022.2" or not settings.use_grpc_api:
369368
print("Launching PyAEDT outside Electronics Desktop with CPython and Pythonnet")
370369
self._init_cpython(
371370
non_graphical,

0 commit comments

Comments
 (0)