Skip to content

Commit

Permalink
Fixed loading in windows
Browse files Browse the repository at this point in the history
The Url was normilsed when loading from catalog. This resulted in wrong path in windows. This has now been commented out, and seems to work fine in both windows and linux. It is not completely removed as it might be that issues arise that we have not been able to identify.
  • Loading branch information
francescalb authored Aug 30, 2022
1 parent 02b3c84 commit 4e0e46d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ontopy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def load_uri(uri, dirname):
url = f"{baseuri}/{uri_as_str}"
else:
url = os.path.join(baseuri if baseuri else dirname, uri_as_str)
url = normalise_url(url)
# url = normalise_url(url)

iris.setdefault(uri.attrib["name"], url)
if recursive:
Expand Down

0 comments on commit 4e0e46d

Please sign in to comment.