Repository navigation
CLI behaviour fixes from the v0.10.1 review - #628
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp99saj5j4QZfMeAZQUm
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp99saj5j4QZfMeAZQUm
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp99saj5j4QZfMeAZQUm
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp99saj5j4QZfMeAZQUm
… a masks folder Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp99saj5j4QZfMeAZQUm
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp99saj5j4QZfMeAZQUm
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp99saj5j4QZfMeAZQUm
guijacquemet
pushed a commit
that referenced
this pull request
Dec 4, 2026
#628 imported he_tissue_mask at the top of cli_tissue_mask, so a core-only install loaded morphobricks_normalization.stain and the H&E code on any CLI start (test_he_tissue_core_only failed). The import moves into _prerequisites. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Behaviour fixes from the independent review of v0.10.1. This follows #627, which covers wording only.
Plan and progress
convertrefuses axis roles that put an RGB TIFF's colours on another role than C (rgb_axes_contradict_header)conversion_plan._rgb_contradictions, a test intest_convert.py, a user-guide row and a changelog entrycheckchecks what the nextrunreads: without--excludeor--masks, it uses the earlier run's exclusions and masks folder and says so (cli._reuse_recorded_inputs)test_check_reuses_run.pyfail without the fix. Still open:checkdoes not yet run the description's header checks (check_physical), so a channel-count or header contradiction still shows up only atrun. Left for review because it changes whatcheckreadsdescribe --publishexits 1 when the image headers contradict the published description (it printed "Nothing to publish" and exited 0)cli_describe.py;test_notebook_prerelease.pynow expects 1; guide and changelog updateddescriberefuses the fast-mode options (--channels,--image-type,--accept-ids,--comparable,--confirmed-on) for a published description, which they never changed_fast_options_given,PUBLISHED_UNCHANGED; new test intest_cli_usability.pydeclare-masks --type ... --ignore ...: both apply or neither (mask_declare.check_ignoreruns before anything is declared)tissue-maskchecks the rule, thehe-maskextra and every image before it creates and records a masks folder--comparable,describenames the notebook's Check and save card (step 1) for repeats that are not comparableNotes for review
integration/v0.10.1, not from CLI wording: help, next steps and refusals (v0.10.1 review) #627. Both PRs touchcli_describe.py,cli_tissue_mask.py,cli_declare_masks.pyandfast_answers.py, so whichever merges second needs a small rebase. The messages added here use the wording of CLI wording: help, next steps and refusals (v0.10.1 review) #627.Tests
Only targeted tests were run here. The full suite and release gates are left to the owner's local session.
test_check_reuses_run.pyplustest_cli.py,test_cli_usability.py,test_axis_check.py,test_cli_exit_status.py,test_cli_log.py,test_mask_step.pyandtest_notebook_prerelease.py: 180 passed, 1 skipped.test_cli_usability.py,test_cli_describe.py,test_notebook_prerelease.py,test_declare_masks.py,test_ignored_masks.py,test_cli_tissue_mask.py,test_notebook_tissue_mask.py,test_spec_fast_layout.pyandtest_cli.pypassed.test_he_tissue_mask.py::test_a_non_editable_install_is_verified_and_reused_for_realfails here because it needs a non-editable install. It fails the same way with this PR's changes stashed.test_convert*.py,test_cli_projection.py,test_projection_convert.py,test_notebook_convert.py,test_conversion_check_iterables.py,test_cli.py).https://claude.ai/code/session_01G3qp99saj5j4QZfMeAZQUm
Generated by Claude Code