Skip to content

Commit 4e45c49

Browse files
committed
removed unnecessary comments
1 parent 5d65886 commit 4e45c49

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

linkml_runtime/utils/schemaview.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,6 @@ def is_absolute_path(path: str) -> bool:
107107
drive, tail = os.path.splitdrive(norm_path)
108108
return bool(drive and tail)
109109

110-
# WINDOWS:
111-
# # This cannot be simplified. os.path.normpath() must be called before .as_posix()
112-
# i = PurePath(os.path.normpath(PurePath(sn).parent / i)).as_posix()
113-
# # i = resolve_import(sn, i)
114-
# else:
115-
# # i = resolve_import(sn, i)
116-
# i = os.path.normpath(str(Path(sn).parent / i))
117-
118110
def _resolve_import(source_sch: str, imported_sch: str) -> str:
119111
if os.path.isabs(imported_sch):
120112
# Absolute import paths are not modified

0 commit comments

Comments
 (0)