Skip to content

Commit

Permalink
temporary register chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmoore committed Jul 6, 2023
1 parent dd06b13 commit 9a001a3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/omero_mkngff/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a001a3

Please sign in to comment.