diff --git a/src/omero_mkngff/__init__.py b/src/omero_mkngff/__init__.py index d1b2a95..30bb8ae 100644 --- a/src/omero_mkngff/__init__.py +++ b/src/omero_mkngff/__init__.py @@ -220,12 +220,8 @@ def walk(self, path: Path) -> Generator[Tuple[Path, str, str], None, None]: if not p.is_dir(): yield (p.parent, p.name, "application/octet-stream") else: - if (p / ".zarray").exists() or (p / ".zgroup").exists(): - yield (p.parent, p.name, "Directory") - yield from self.walk(p) - else: - # Chunk directory - continue + yield (p.parent, p.name, "Directory") + yield from self.walk(p) def get_uuid(self, args: Namespace) -> str: from omero.grid import ManagedRepositoryPrx as MRepo