From bf1dad2bb0b2ffe0ca333437f0e14e1f923ebf54 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 7 Oct 2026 21:04:35 +0000 Subject: [PATCH] HOST_FEATURES: RegionOf and Copy as command are live in the three hosts Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01Y2SN8SuEakTdiWy3F2WUqN --- docs/HOST_FEATURES.md | 4 ++-- docs/MANIFEST.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/HOST_FEATURES.md b/docs/HOST_FEATURES.md index 42601aa..d2214dc 100644 --- a/docs/HOST_FEATURES.md +++ b/docs/HOST_FEATURES.md @@ -9,14 +9,14 @@ Hosts: **Napari** (dock widget), **Fiji** (SciJava dialog, Groovy script or jar) | `Group` headings, `Advanced` section | yes (checkbox toggles it) | headings in the dialog | heading, folded section | | `Collapsed` (accordion) | yes (click the heading) | plain heading (SciJava cannot fold) | yes (titled pane) | | `Widget("slider")` / `Widget("radio")` | `FloatSlider`, `Slider`, radio buttons | slider and radio styles | slider beside the box, radio buttons | -| `Copy as command` (host feature, no manifest change) | planned | planned | planned | +| `Copy as command` (host feature, no manifest change) | button with a menu: terminal line or Python snippet | the Log after each run; menu entry "Copy last run as command" | menu button: terminal line or Python snippet | | `EnabledWhen` | greys out | ignored: every field stays editable | greys out | | `PixelSizeOf` | prefilled from the layer | prefilled from the calibration | prefilled from the image | | `ChoicesFrom` (dropdown) | yes, updates when its inputs change | yes, from the previous run's values; text field the first time | yes, updates when its inputs change | | `ClearAfterRun` | yes | not needed (a fresh dialog every run) | yes | | `Replace` | updates the layer or dock in place | closes the previous window, overlay or ROIs | reuses the results window, replaces the annotation | | `PickChannel` | RGB colours, channels of a TIFF file | a channel number | channel names | -| `RegionOf` (run on the selection) | planned | planned | planned | +| `RegionOf` (run on the selection) | "use the selection" box: the selected Shapes layer (labels 1..N) | "Use the selection" box: ROI Manager selection, else the image ROI (labels 1..N) | "use the selection" box: selected annotations (labels 1..N) | | `ImageOut`, `LabelsOut` | layer | window | preview and "Open in QuPath" | | `TableOut` | table dock | Results table | table in the results window | | `Scalars` | in the status line | in the Log | in the results window and status | diff --git a/docs/MANIFEST.md b/docs/MANIFEST.md index 7e54931..d2a24d0 100644 --- a/docs/MANIFEST.md +++ b/docs/MANIFEST.md @@ -19,7 +19,7 @@ A tool declares itself with Python types and a few markers; hosts (Napari, Fiji, | `Scalars` | return a dict of numbers or text | the values shown to the person | | `MessageOut` | return a short text | a message block, dialog or label | | `PointsOut` | return a table with columns `y`, `x` (+ properties) | a points layer, point ROIs, point annotations | -| `ShapesOut` | return `labels_to_shapes(labels)`, a GeoJSON FeatureCollection or a list of polygons | a shapes layer, polygon ROIs, annotations (planned in the hosts; until then it is listed as a file) | +| `ShapesOut` | return `labels_to_shapes(labels)`, a GeoJSON FeatureCollection or a list of polygons | a shapes layer, polygon ROIs, annotations (all three hosts) | | `FileOut` | return a path | a file the host lists | | `Affine` (+ `ApplyTo`) | return a 3x3 matrix | an overlay of the moved image |