File tree 2 files changed +3
-6
lines changed 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -433,14 +433,11 @@ def __getattr__(name):
433
433
434
434
435
435
def fix_holoscan_import ():
436
- """Fix holoscan submodule core's __init__ to enable lazy load for avoiding failure on loading low level libs."""
436
+ """Fix holoscan __init__ to enable lazy load for avoiding failure on loading low level libs."""
437
437
438
438
holoscan_package_name = "holoscan"
439
- holoscan_core_module_name = "core"
440
439
holoscan_package_path = dist_module_path (holoscan_package_name )
441
- holoscan_core_init_path = (
442
- Path (holoscan_package_path ) / holoscan_package_name / holoscan_core_module_name / "__init__.py"
443
- )
440
+ holoscan_core_init_path = Path (holoscan_package_path ) / holoscan_package_name / "__init__.py"
444
441
445
442
with open (holoscan_core_init_path , "w" ) as f_w :
446
443
f_w .write (holoscan_init_content_txt )
Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ install_python_dev_deps() {
333
333
334
334
fix_holoscan_import () {
335
335
local holoscan_package_path=$( ${MONAI_PY_EXE} $TOP /monai/deploy/utils/importutil.py dist_module_path holoscan)
336
- c_echo b " holoscan package core module path : " Z " ${holoscan_package_path} /holoscan/core "
336
+ c_echo b " holoscan_package_path : " Z " ${holoscan_package_path} "
337
337
c_echo b " fixing holoscan package module import..."
338
338
${MONAI_PY_EXE} $TOP /monai/deploy/utils/importutil.py fix_holoscan_import
339
339
c_echo b " done fixing."
You can’t perform that action at this time.
0 commit comments