Skip to content

Commit

Permalink
feat(cli): add progress flag to skeleton forging
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed Feb 22, 2025
1 parent 09c3d6b commit c514229
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions igneous_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1241,14 +1241,15 @@ def skeletongroup():
@click.option('--output', '-o', type=CloudPath(), default=None, help="Output the results to a different place.", show_default=True)
@click.option('--timestamp', type=int, default=None, help="(graphene) Use the proofreading state at this UNIX timestamp.", show_default=True)
@click.option('--root-ids', type=CloudPath(), default=None, help="(graphene) If you have a materialization of graphene root ids for this timepoint, it's more efficient to use it than making requests to the graphene server.", show_default=True)
@click.option('--progress', is_flag=True, default=False, help="Print progress bars.", show_default=True)
@click.pass_context
def skeleton_forge(
ctx, path, queue, mip, shape,
fill_missing, dust_threshold, dust_global, spatial_index,
fix_branching, fix_borders, fix_avocados, fix_autapses,
fill_holes, scale, const, soma_detect, soma_accept,
soma_scale, soma_const, max_paths, sharded, labels,
cross_section, output, timestamp, root_ids,
cross_section, output, timestamp, root_ids, progress,
):
"""
(1) Synthesize skeletons from segmentation cutouts.
Expand Down Expand Up @@ -1287,7 +1288,7 @@ def skeleton_forge(
teasar_params=teasar_params,
fix_branching=fix_branching, fix_borders=fix_borders,
fix_avocados=fix_avocados, fill_holes=fill_holes,
dust_threshold=dust_threshold, progress=False,
dust_threshold=dust_threshold, progress=progress,
parallel=1, fill_missing=fill_missing,
sharded=sharded, spatial_index=spatial_index,
dust_global=dust_global, object_ids=labels,
Expand Down

0 comments on commit c514229

Please sign in to comment.