File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -620,6 +620,11 @@ def __init__(self,
620
620
timeout = None ):
621
621
# Load DPFClientAPI
622
622
super ().__init__ (ansys_path = ansys_path , load_operators = load_operators )
623
+ warnings .warn (UserWarning (f"=================!!!!!!!!!!!!========="
624
+ f"LOADED API WITH { self ._client_api_path } "
625
+ f""
626
+ f""
627
+ f"" ))
623
628
# Load DataProcessingCore
624
629
from ansys .dpf .gate .utils import data_processing_core_load_api
625
630
from ansys .dpf .gate import data_processing_capi
@@ -629,10 +634,15 @@ def __init__(self,
629
634
data_processing_core_load_api (path , "common" )
630
635
except Exception as e :
631
636
if not os .path .isdir (os .path .dirname (path )):
632
- raise NotADirectoryError (
637
+ raise NotADirectoryError (
633
638
f"DPF directory not found at { os .path .dirname (path )} "
634
639
f"Unable to locate the following file: { path } " )
635
640
raise e
641
+ warnings .warn (UserWarning (f"=================!!!!!!!!!!!!========="
642
+ f"LOADED DPC WITH { path } "
643
+ f""
644
+ f""
645
+ f"" ))
636
646
data_processing_capi .DataProcessingCAPI .data_processing_initialize_with_context (1 , None )
637
647
self .set_as_global (as_global = as_global )
638
648
You can’t perform that action at this time.
0 commit comments