Skip to content

Commit 1f84078

Browse files
committed
Remove version test, add warning to get info on ansys_path used.
1 parent 3da0c1e commit 1f84078

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ansys/dpf/core/server_types.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,11 @@ def __init__(self,
459459
super().__init__()
460460
self._own_process = False
461461
self.ansys_path = ansys_path
462+
warnings.warn(UserWarning(f"=================!!!!!!!!!!!!========="
463+
f"trying to load api with {ansys_path}"
464+
f""
465+
f""
466+
f""))
462467
self._client_api_path = load_api.load_client_api(ansys_path=ansys_path)
463468

464469
@property
@@ -628,8 +633,6 @@ def __init__(self,
628633
f"DPF directory not found at {os.path.dirname(path)}"
629634
f"Unable to locate the following file: {path}")
630635
raise e
631-
if not self.meet_version("4.0"):
632-
raise errors.DpfVersionNotSupported("4.0")
633636
data_processing_capi.DataProcessingCAPI.data_processing_initialize_with_context(1, None)
634637
self.set_as_global(as_global=as_global)
635638

0 commit comments

Comments
 (0)