Skip to content

Commit

Permalink
release(4.20.2): fixes bug in downsample
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed Nov 21, 2023
1 parent 51d0222 commit c48be20
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion igneous/task_creation/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@ def ds_shape(mip, chunk_size=None, factor=None):
preserve_chunk_size=preserve_chunk_size, chunk_size=chunk_size,
encoding=encoding, factor=factor
)
for mip_i in range(mip, mip + num_mips):

for mip_i in range(mip, min(mip + num_mips, len(vol.available_mips))):
set_encoding(vol, mip_i, encoding, encoding_level)
vol.commit_info()

Expand Down
2 changes: 1 addition & 1 deletion igneous_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def compute_bounds(path, mip, xrange, yrange, zrange):

@click.group()
@click.option("-p", "--parallel", default=1, help="Run with this number of parallel processes. If 0, use number of cores.")
@click.version_option(version="4.20.1")
@click.version_option(version="4.20.2")
@click.pass_context
def main(ctx, parallel):
"""
Expand Down
9 changes: 5 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
name = igneous-pipeline
url = https://github.com/seung-lab/igneous/
summary = Downsample, Mesh, Skeletonize, and Remap Neuroglancer Datasets
description-file =
description_file =
README.md
long_description_content_type = text/markdown
author = Ignacio Tartavull, William Silversmith, and others
author-email = [email protected]
home-page = https://github.com/seung-lab/igneous/
author_email = [email protected]
home_page = https://github.com/seung-lab/igneous/
license=License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
classifier =
Intended Audience :: Developers
Expand All @@ -23,7 +24,7 @@ classifier =
Topic :: Scientific/Engineering :: Image Processing

[global]
setup-hooks =
setup_hooks =
pbr.hooks.setup_hook

[files]
Expand Down

0 comments on commit c48be20

Please sign in to comment.