Repository navigation
Show activity dock automatically in automatic GUI segmentation tasks - #1415
Open
titusgriebel wants to merge 4 commits into
Open
titusgriebel wants to merge 4 commits into
titusgriebel wants to merge 4 commits into
Conversation
The progress bar of an automatic run is in the napari activity dock, which is closed by default. Thus users do not see the progress of a long run, for example APG on a tiled volume. The dock now opens when an automatic segmentation or tracking run starts. After the run it closes again if it was closed before. The dock uses private napari API. Without that API, the run continues without the dock. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The annotator shows the progress of volume propagation, APG and dense segmentation in its napari progress bar. Some steps also printed a terminal progress bar for each run, for example 'propagate in video' for every propagation pass. - 'propagate_in_video' gets a 'verbose' parameter. - 'propagate_prompts' shows the terminal bar only when there is no 'update_progress' callback. APG passes report their own progress, so a pass shows no bar of its own. - 'run_multicut' takes 'pbar_init' and 'pbar_update'. The annotator sends the slice-wise oversegmentation of dense mode to its napari bar. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The private napari API is used by '_show_activity_dock', not by the dock. - 'run_multicut' documents the callback arguments, and that 'pbar_init' and 'pbar_update' go together. - 'propagate_prompts' names the 'None' default of 'verbose'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The test creates a napari viewer. Every other test that creates a viewer is skipped on Windows, because the Windows runner cannot run these GUI tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes