We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d65886 commit 4e45c49Copy full SHA for 4e45c49
linkml_runtime/utils/schemaview.py
@@ -107,14 +107,6 @@ def is_absolute_path(path: str) -> bool:
107
drive, tail = os.path.splitdrive(norm_path)
108
return bool(drive and tail)
109
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
116
-# i = os.path.normpath(str(Path(sn).parent / i))
117
-
118
def _resolve_import(source_sch: str, imported_sch: str) -> str:
119
if os.path.isabs(imported_sch):
120
# Absolute import paths are not modified
0 commit comments