Skip to content

Commit

Permalink
fix for tileconfig key zstack 0->0000
Browse files Browse the repository at this point in the history
  • Loading branch information
akhanf committed Sep 29, 2024
1 parent 78fe03f commit 4d1b90e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion workflow/scripts/blaze_to_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
chunk = map_tiles_to_chunk[d['tilex']+d['tiley']] # want the key to have chunk instad of tilex,tiley, so map to that first

if is_zstack:
key = f"tile-{chunk}_chan-{d['channel']}_z-0"
key = f"tile-{chunk}_chan-{d['channel']}_z-0000"
else:
#key is: tile-{chunk}_chan-{channel}_z-{zslice}
key = f"tile-{chunk}_chan-{d['channel']}_z-{d['zslice']}"
Expand Down
2 changes: 1 addition & 1 deletion workflow/scripts/blaze_to_metadata_gcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
chunk = map_tiles_to_chunk[d['tilex']+d['tiley']] # want the key to have chunk instad of tilex,tiley, so map to that first

if is_zstack:
key = f"tile-{chunk}_chan-{d['channel']}_z-0"
key = f"tile-{chunk}_chan-{d['channel']}_z-0000"
else:
#key is: tile-{chunk}_chan-{channel}_z-{zslice}
key = f"tile-{chunk}_chan-{d['channel']}_z-{d['zslice']}"
Expand Down

0 comments on commit 4d1b90e

Please sign in to comment.