Skip to main content

napari-ctc-io

PyPI tests codecov napari hub

  • Drag and drop annotations/results in the Cell Tracking Challenge (CTC) format into napari.

    Works for TRA, RES, etc. folders, which contain a time sequence of segmentations in tiff format, and a corresponding tracklet file *.txt.

  • Write tracked cells (labels layer & corresponding tracks layer) to CTC format (see usage below).

https://github.com/bentaculum/napari-ctc-io/assets/8866751/197c9ea2-4115-4829-851a-4b77eb843bf2

Installation

You can install napari-ctc-io via pip:

pip install napari-ctc-io

To install latest development version :

pip install git+https://github.com/bentaculum/napari-ctc-io.git

Usage of writer in widget

def _save(self, event=None):
    pm = npe2.PluginManager.instance()

    outdir = "TRA"
    writer_contrib = pm.get_writer(
        outdir,
        ["labels", "tracks"],
        "napari-ctc-io",
    )[0]

    save_layers(
        path=outdir,
        layers=[
            self._viewer.layers["masks_tracked"],
            self._viewer.layers["tracks"],
        ],
        plugin="napari-ctc-io",
        _writer=writer_contrib,
    )

Contributing

Contributions are very welcome. Tests can be run with tox.

License

Distributed under the terms of the BSD-3 license, napari-ctc-io is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Metadata

Release files for napari-ctc-io 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for napari-ctc-io 0.2.1
File Size Uploaded Provenance Actions
napari_ctc_io-0.2.1.tar.gz 1.4 MB Without provenance Details for napari_ctc_io-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for napari-ctc-io 0.2.1
File Interpreter ABI Platform Actions
napari_ctc_io-0.2.1-py3-none-any.whl Python 3 none any Details for napari_ctc_io-0.2.1-py3-none-any.whl

Total release size: 2.8 MB

Release files / napari_ctc_io-0.2.1.tar.gz

Download URL napari_ctc_io-0.2.1.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
675b1887d97cf6a64b76e6600f24640e2a0c89ec51d00f8a91747c2bf5e802cc
BLAKE2b-256 checksum
How to use checksums
b0b328b392bea5ecc67f3371d5e07c36de75955eee820ed3811c2ed275107a8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / napari_ctc_io-0.2.1-py3-none-any.whl

Download URL napari_ctc_io-0.2.1-py3-none-any.whl
Size 1.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
375e1a233c3a5608b5c8dcec56456d3e324e1a33001a18343cd5c80e45446ea2
BLAKE2b-256 checksum
How to use checksums
9c58776241cdd23e3208986f1ce50c005451c7c20a1e1ee3bb92fa1d832f5424
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Security for napari-ctc-io 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page