diff --git a/docs/CAPABILITIES.md b/docs/CAPABILITIES.md index 41d8c93..97594e3 100644 --- a/docs/CAPABILITIES.md +++ b/docs/CAPABILITIES.md @@ -20,8 +20,6 @@ A LabConstrictor app can offer **tools**: analyses that you run from napari, Fij | Pixel size read from the image | Yes | Yes | Yes | | Part of a large image | No: the whole image | No: the whole image | Yes: the whole image, the selected annotations or the current view | -Good to know: - - **Image files** are TIFF or OME-TIFF. Other formats work only if the app includes the `imageio` package. - **Pixel size is never guessed.** If the image has no usable calibration, the field stays empty and the run is refused until you type a value. A value you type is always kept. - **A tool made for 2D images refuses a stack.** No host picks a plane for you. In QuPath, choosing an image area sends the plane you are looking at. @@ -41,8 +39,6 @@ Good to know: | File | Yes: its path is shown | Yes: its path is in the Log window | Yes | | A new run replaces the previous result | Yes | Yes | Yes: only the annotations the tool drew itself | -Good to know: - - **Points and outlines land on the image they belong to**, also when the napari layer is scaled or moved, or when QuPath sent only an area. - **Very large results are cut for display, never in the files.** napari and QuPath show the first 100 000 rows of a table. napari draws at most 50 000 outlines and does not load a result image over 4 GiB. The tool's own files hold everything. @@ -62,8 +58,6 @@ Good to know: | Fiji macros | — | Partial: a macro line you write by hand runs a tool without a dialog (jar install only). The Macro Recorder does not record it yet | — | | Run without a window (scripts, batch) | No: use the command line | No: use the command line | No: use the command line | -Good to know: - - **Cancel always ends the run.** A tool that does not react is stopped after 3 seconds, and nothing it started is left running. - **The log** is `~/.labconstrictor/logs/labconstrictor.log`. Every front-end writes to it. - **Run records** are in `~/.labconstrictor/runs/`. Each holds the app, the tool, the values you used, the status and the error if there was one. It never holds pixel data. diff --git a/docs/HOST_FEATURES.md b/docs/HOST_FEATURES.md index 6993ec4..9879673 100644 --- a/docs/HOST_FEATURES.md +++ b/docs/HOST_FEATURES.md @@ -1,6 +1,6 @@ # What each host does with each feature -What napari, Fiji and QuPath do with each marker of a tool's declaration, for app authors and plugin developers. For a plain summary of what a person can do in each host, read [What works where](CAPABILITIES.md) first; the notebook form and the command line are covered [below](#in-a-notebook-and-on-the-command-line). +For app authors and plugin developers: how napari, Fiji and QuPath present each marker of a tool's declaration. For a plain summary of what a person can do in each host, read [What works where](CAPABILITIES.md) first; the notebook form and the command line are covered [below](#in-a-notebook-and-on-the-command-line). The hosts are the napari plugin (a dock widget), the Fiji plugin (a SciJava dialog, from the jar or the script) and the QuPath extension (a JavaFX window). All three need an app whose Tools is 0.3.0a1 or newer ([INSTALL.md](INSTALL.md#what-the-plugins-need-from-an-app)). How to install and open each plugin is in its own guide: [napari](https://cellmigrationlab.github.io/LabConstrictor-Site/guides/napari/), [Fiji](https://cellmigrationlab.github.io/LabConstrictor-Site/guides/fiji/), [QuPath](https://cellmigrationlab.github.io/LabConstrictor-Site/guides/qupath/). diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 84e186a..99aeb10 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -2,7 +2,7 @@ You do not install `labconstrictor-tools` to use an app: the app's installer brings it. To install an app or a plugin, follow [Install an app](https://cellmigrationlab.github.io/LabConstrictor-Site/guides/install/) and the [napari](https://cellmigrationlab.github.io/LabConstrictor-Site/guides/napari/), [Fiji](https://cellmigrationlab.github.io/LabConstrictor-Site/guides/fiji/) or [QuPath](https://cellmigrationlab.github.io/LabConstrictor-Site/guides/qupath/) guide. -This page covers what the plugins need from an installed app, how to check an app, and how to install `labconstrictor-tools` by hand. Shared and network installs are in [Operations](OPERATIONS.md#many-apps-many-users-network-shares). +Shared and network installs are in [Operations](OPERATIONS.md#many-apps-many-users-network-shares). ## What the plugins need from an app diff --git a/docs/MANIFEST.md b/docs/MANIFEST.md index 1a957b8..191a2f3 100644 --- a/docs/MANIFEST.md +++ b/docs/MANIFEST.md @@ -1,6 +1,6 @@ # Tool markers -Every type and marker a tool can use to declare its inputs and outputs. Hosts (napari, Fiji, QuPath) build the form and show the results from what you declare. This page is about markers on tools; the app's own description file, `labconstrictor-app.yaml`, has its guide in [Describe your app](https://cellmigrationlab.github.io/LabConstrictor-Site/guides/app-manifest/), and the last two sections below give the technical rules for the two keys of that file that the plugins read. +Tool markers define a tool's inputs and outputs and how the plugins present them: napari, Fiji and QuPath build the form and show the results from what you declare. An app's own metadata belongs in `labconstrictor-app.yaml` ([Describe your app](https://cellmigrationlab.github.io/LabConstrictor-Site/guides/app-manifest/)); the last two sections below give the technical rules for the two keys of that file that the plugins read. `labconstrictor-tools check --module ` prints what each parameter and output will do. `labconstrictor_tools/examples/interactions.py` is a copy-and-adapt example that uses every marker. What each host does with each marker is in [HOST_FEATURES.md](HOST_FEATURES.md), and a step-by-step introduction is [AUTHORING.md](AUTHORING.md). diff --git a/docs/PUBLISHING.md b/docs/PUBLISHING.md index b3025bc..89e6533 100644 --- a/docs/PUBLISHING.md +++ b/docs/PUBLISHING.md @@ -31,7 +31,7 @@ Each release of [LabConstrictor-QuPath](https://github.com/CellMigrationLab/LabC ## Apps -App authors do not publish to any store. This part is in place: +App authors do not publish to any store. To make an app available through the App Centre: 1. **Release.** A GitHub release of the app's repository builds the installers and attaches them ([Create executable installers](https://cellmigrationlab.github.io/LabConstrictor-Site/guides/executable-creation/)). 2. **Describe.** The repository holds a small file, `labconstrictor-app.yaml`, that says what the app is ([Describe your app](https://cellmigrationlab.github.io/LabConstrictor-Site/guides/app-manifest/)). diff --git a/docs/user-guide.md b/docs/user-guide.md index 3e35f8b..8eadaaf 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -2,8 +2,6 @@ Some apps come with **tools**: analyses you can run from napari, Fiji or QuPath, with a form for their settings. The napari and Fiji plugins and the QuPath extension show that form, run the tool, and put the result back into your software: images become layers or windows, outlines become overlays, points become point ROIs, numbers go to a log or a table. -The tool runs in the app's own Python environment, in a separate process. Your image software never imports the app's packages, so apps with conflicting dependencies can live side by side. Fiji (ImageJ) and QuPath need no Python at all; napari is itself a Python program, and its plugin is installed into the environment where napari runs. - > [!NOTE] > The napari, Fiji and QuPath plugins are tested on Linux, Windows and macOS. [What works where](https://cellmigrationlab.github.io/LabConstrictor-Site/guides/capabilities/) lists what each one supports today. @@ -15,14 +13,20 @@ The tool runs in the app's own Python environment, in a separate process. Your i A first run needs step 1: an installed LabConstrictor app that declares tools. With none registered, the plugin has no app to list. -Found a problem? [Open an issue](https://github.com/CellMigrationLab/LabConstrictor-Tools/issues) with the host, operating system, app and the steps that show it. - ## Check that everything works Install the **LabConstrictor Playground** app and run its **Check everything** tool. It checks your computer, the installation and the GPU libraries, and writes a report you can attach to an issue. It does not test the napari, Fiji or QuPath plugins. To check a plugin, run the Playground's **Feature tour** tool in that program. It uses every kind of setting and result the plugins support. See the guide for [napari](https://cellmigrationlab.github.io/LabConstrictor-Site/guides/napari/), [Fiji](https://cellmigrationlab.github.io/LabConstrictor-Site/guides/fiji/) or [QuPath](https://cellmigrationlab.github.io/LabConstrictor-Site/guides/qupath/). +## Why you do not install more Python packages + +Each tool runs in its app's own Python environment, in a separate process. Your image software never imports the app's packages, so apps with conflicting dependencies can live side by side. Fiji (ImageJ) and QuPath need no Python at all; napari is itself a Python program, and its plugin is installed into the environment where napari runs. + ## Make your own tools To make an app's analyses run in napari, Fiji and QuPath, see [Connect an app](https://cellmigrationlab.github.io/LabConstrictor-Site/connect/). + +## Found a problem? + +[Open an issue](https://github.com/CellMigrationLab/LabConstrictor-Tools/issues) with the host, operating system, app and the steps that show it.