Skip to content

Commit

Permalink
fix: convert chunk size to x,y,z order
Browse files Browse the repository at this point in the history
  • Loading branch information
seankmartin committed Feb 8, 2024
1 parent 6656020 commit c60b1e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cryo_et_neuroglancer/write_segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ def _create_metadata(
"num_channels": 1,
"scales": [
{
"chunk_sizes": [chunk_size],
"chunk_sizes": [chunk_size[::-1]],
"encoding": "compressed_segmentation",
"compressed_segmentation_block_size": block_size,
"compressed_segmentation_block_size": block_size[::-1],
"resolution": resolution,
"key": data_directory,
"size": data_size[
Expand Down

0 comments on commit c60b1e0

Please sign in to comment.