Skip to content

Commit 38ef1c5

Browse files
Fix Windows path resolution for normalization_path
1 parent 718df87 commit 38ef1c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

the_well/data/datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def __init__(
247247
else:
248248
self.normalization_path = os.path.join(
249249
trunk_path,
250-
str(normalization_path).removeprefix(str(trunk_path)).lstrip("./"),
250+
str(normalization_path).removeprefix(str(trunk_path)).lstrip("./\\"),
251251
)
252252

253253
self.fs, _ = fsspec.url_to_fs(self.data_path, **(storage_options or {}))

0 commit comments

Comments
 (0)