Skip to content

Commit

Permalink
Fixes N5DataPath.list_internal_paths backslashes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomaz-Vieira committed Apr 26, 2021
1 parent df14245 commit 91fd130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ilastik/utility/data_url.py
Expand Up @@ -351,7 +351,7 @@ def from_paths(cls, file_path: Path, internal_path: PurePosixPath) -> "N5DataPat
@classmethod
def list_internal_paths(cls, path: Path) -> List[PurePosixPath]:
with z5py.File(path, "r") as f:
return sorted([PurePosixPath("/") / p["name"] for p in lsH5N5(f)])
return sorted([PurePosixPath("/") / p["name"].replace("\\", "/") for p in lsH5N5(f)])

def glob_internal(self) -> Sequence["N5DataPath"]:
with z5py.N5File(str(self.file_path)) as f:
Expand Down

0 comments on commit 91fd130

Please sign in to comment.