Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/AUTHORING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ To get a starter file, let `init` write it:
labconstrictor-tools init src/my_app_lc_tools/__init__.py
```

The starter is this example without `Name("blurred")`, so its output is named `image`, after its type. `init` creates the folder and prints the `check` and `register` commands for it.
The starter is the example above, so the tests.json example further down passes on it unchanged. `init` creates the folder and prints the `check` and `register` commands for it.

**Name the module `<package>_lc_tools`.** The app's installer registers its tools only if the app's Python package `<package>` comes with a module named exactly `<package>_lc_tools`. For the package `nucleisky` that is `src/nucleisky_lc_tools/__init__.py`. Any other name works from the command line but is never registered by the installer. The app's release bundles everything under `src/` automatically, so you do not edit `construct.yaml` or `setup.py`.

Expand Down
2 changes: 1 addition & 1 deletion docs/OPERATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Every front-end (command line, napari, Fiji, QuPath, notebooks) appends to one f
labconstrictor-tools logs --path # where the file is
labconstrictor-tools doctor # the state of the installation

A support bundle holds paths, app names and the last run records: look through it before you share it.
A support bundle can hold private details: file paths (which show your user name and folder names), the names of your apps, and the last 10 run records with the settings and file names of each run. Open the zip and remove what you do not want to share before you attach it.

labconstrictor-tools support-bundle # a zip of logs, registered apps, the last 10 run records and versions, to attach to a bug report

Expand Down
2 changes: 1 addition & 1 deletion docs/PUBLISHING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If you only want to install something, use [Install an app](https://cellmigratio
| QuPath extension | The jar from the GitHub release, installed by hand ([QuPath guide](https://cellmigrationlab.github.io/LabConstrictor-Site/guides/qupath/)) |
| Apps | The installer from the app's GitHub release, found through its page in the LabConstrictor App Centre |

Every release is a GitHub release made by a maintainer. None of the plugins is in a Fiji update site, on PyPI or in a QuPath extension catalog yet; the steps and open questions for those are in [TESTING.md](TESTING.md#open-items-publishing-channels).
Every release is a GitHub release made by a maintainer. None of the plugins is in a Fiji update site, on PyPI or in a QuPath extension catalog yet.

## Fiji

Expand Down
4 changes: 2 additions & 2 deletions labconstrictor_tools/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,11 +601,11 @@ def _environment_report() -> str:

from typing import Annotated

from labconstrictor_tools import Image, ImageOut, Min, check_cancel, progress, tool
from labconstrictor_tools import Image, ImageOut, Min, Name, check_cancel, progress, tool


@tool("Gaussian blur")
def blur(image: Image, sigma: Annotated[float, Min(0)] = 2.0) -> ImageOut:
def blur(image: Image, sigma: Annotated[float, Min(0)] = 2.0) -> Annotated[ImageOut, Name("blurred")]:
"""Smooth an image.

Args:
Expand Down
Loading