Skip to content

Commit b95650a

Browse files
committed
Minor formatting change
Signed-off-by: M Q <mingmelvinq@nvidia.com>
1 parent ea9ae5d commit b95650a

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

monai/deploy/utils/importutil.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -430,14 +430,17 @@ def __getattr__(name):
430430
raise AttributeError(f"module {__name__} has no attribute {name}")
431431
432432
"""
433+
434+
433435
def fix_holoscan_core_import():
434-
"""Fix holoscan submodule core's __init__ to enable lazy load for avoiding failure on loading low level libs.
435-
"""
436+
"""Fix holoscan submodule core's __init__ to enable lazy load for avoiding failure on loading low level libs."""
436437

437438
holoscan_package_name = "holoscan"
438439
holoscan_core_module_name = "core"
439-
holoscan_package_path=dist_module_path(holoscan_package_name)
440-
holoscan_core_init_path = Path(holoscan_package_path) / holoscan_package_name / holoscan_core_module_name / "__init__.py"
440+
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+
)
441444

442445
with open(holoscan_core_init_path, "w") as f_w:
443-
f_w.write(holoscan_core_init_content_txt)
446+
f_w.write(holoscan_core_init_content_txt)

0 commit comments

Comments
 (0)