Skip to content

Commit

Permalink
Update blaze_to_metadata_gcs.py
Browse files Browse the repository at this point in the history
remove print debug statements
  • Loading branch information
akhanf authored Aug 25, 2024
1 parent 9e3405d commit c8b62bc
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions workflow/scripts/blaze_to_metadata_gcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,16 @@
channels = sorted(list(set(channel)))
zslices = sorted(list(set(zslice)))
prefixes = sorted(list(set(prefix)))
print(tiles_x)
print(tiles_y)


#read in series metadata from first file
in_tif = in_tif_pattern.format(tilex=tiles_x[0],tiley=tiles_y[0],prefix=prefixes[0],channel=channels[0],zslice=zslices[0])

print(in_tif)
print(f"gcs://{in_tif}")

with fs.open(f"gcs://{in_tif}", 'rb') as tif_file:
raw_tif = tifffile.TiffFile(tif_file,mode='r')

axes = raw_tif.series[0].get_axes()
shape = raw_tif.series[0].get_shape()
print(axes)

ome_dict = xmltodict.parse(raw_tif.ome_metadata)

Expand Down

0 comments on commit c8b62bc

Please sign in to comment.