Skip to main content

napari-griottes

License PyPI Python Version tests codecov

napari hub

Use 🍒 Griottes 🍒 in napari!


https://user-images.githubusercontent.com/11408456/224119160-c381091d-8275-449e-9cf4-679ab474acd2.mp4

Installation

Install from napari

image

You can install napari-griottes via pip:

pip install napari-griottes

To install latest development version :

pip install git+https://github.com/BaroudLab/napari-griottes.git

Usage

Starting with labels:

  1. Open the plugin in Plugins/napari-griottes
  2. Make sure the layer with labels is selected
  3. Click Run once to get centers
  4. Click Run second time to get graph
  5. Select the right kind of graph in the drop-down menu
  6. Adjust the distance
  7. Adjust thickness

Screenshot from three labels geometric contact mp4

https://user-images.githubusercontent.com/11408456/167825581-47c39884-34cf-4b5c-ad84-a4572217559d.mp4

Starting with Segmented cells

  1. Open sample data: File / Open Sample / napari-griottes / Zebrafish 2D with labels
  2. Select the top layer and covert it to labels (right click - Convert to labels)
  3. Run the plugin once to get the centers of labels
  4. Run the plugin twice to get the connections
  5. Proceed with graph creation

Screenshot from cells graphs mp4

https://user-images.githubusercontent.com/11408456/168237170-b43afd5a-26a4-4cdc-bc42-d3f46f138536.mp4

Saving and recovering the graph

Any graph you see in napari can be saved in .json format.

  1. Select he layers with connections
  2. Click File/Save Selected Layer
  3. Choose Griottes in drop-down menu
  4. Save

In order to recover a previously saved graph in napari, you can simply drag-n-drop your file into napari, or use file open fialog.

https://user-images.githubusercontent.com/11408456/167845853-e7071199-3f58-4d11-8d7b-c1358a150e6b.mp4

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the BSD-3 license, "napari-griottes" 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-griottes 0.4.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-griottes 0.4.1
File Size Uploaded Provenance Actions
napari_griottes-0.4.1.tar.gz 18.6 kB Without provenance Details for napari_griottes-0.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for napari-griottes 0.4.1
File Interpreter ABI Platform Actions
napari_griottes-0.4.1-py3-none-any.whl Python 3 none any Details for napari_griottes-0.4.1-py3-none-any.whl

Total release size: 33.2 kB

Release files / napari_griottes-0.4.1.tar.gz

Download URL napari_griottes-0.4.1.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7fefccb63fd1f2247e220ad60bd0e83ff14a54af51f09111bbb9844dbdd2ec2f
BLAKE2b-256 checksum
How to use checksums
fbb53870dc0a8e38d37e91aebe6dc7d7515906bfef641d5c31144e28239ad29e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / napari_griottes-0.4.1-py3-none-any.whl

Download URL napari_griottes-0.4.1-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
751c4dc3e45e6747b2595e5d3aa6ae30c1c897f6fe510b694c5dc47e817f25e3
BLAKE2b-256 checksum
How to use checksums
196ced457fd423022f6fd25ac6db5541972dbd1dffcb67055ce40ff522b00b5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for napari-griottes 0.4.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