Skip to content

Commit

Permalink
Changing bioformats2raw chunk dims from 4K to 512
Browse files Browse the repository at this point in the history
  • Loading branch information
philipmac committed Nov 16, 2023
1 parent f344f0e commit 3d2263e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions em_workflows/czi/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ def gen_imageSet(file_path: FilePath) -> List:
ng_asset["metadata"] = dict(
shader=image.shader_type,
dimensions="XY",
shaderParameters=image.neuroglancer_shader_parameters(middle_quantile=(0.01,0.99)),
shaderParameters=image.neuroglancer_shader_parameters(
middle_quantile=(0.01, 0.99)
),
)
assets.append(ng_asset)
image_elt["assets"] = assets
Expand All @@ -90,8 +92,8 @@ def generate_czi_imageset(file_path: FilePath):
file_path=file_path,
input_fname=input_czi,
rechunk=True,
width=4096,
height=4096,
width=512,
height=512,
)
imageSet = gen_imageSet(file_path=file_path)
# extract images from input file, used to create imageSet elements
Expand Down

0 comments on commit 3d2263e

Please sign in to comment.