Skip to content

Commit

Permalink
Avoid _converted// path when using abosolute /path/to/image.zarr
Browse files Browse the repository at this point in the history
  • Loading branch information
will-moore committed Aug 17, 2023
1 parent ea3b525 commit 940d0fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/omero_mkngff/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ def sql(self, args: Namespace) -> None:

rows = []
for row_path, row_name, row_mime in self.walk(symlink_path):
if str(row_path).startswith("/"):
row_path = str(row_path)[1:] # remove "/" from start
rows.append(
ROW.format(
PATH=f"{prefix_path}/{prefix_name}_converted/{row_path}/",
Expand Down

0 comments on commit 940d0fb

Please sign in to comment.