A simple napari plugin to load swc file to napari viewer
Project description
napari-swc-reader
A minimal napari plugin to load swc file to napari viewer.
This napari plugin was generated with copier using the napari-plugin-template.
Features
- Load swc file(s) to napari viewer
- Display swc file(s) in napari viewer as points layers and lines layers
- Size of points and lines are using the radius of the swc file
- You can load an example swc from https://neuromorpho.org/dableFiles/jacobs/CNG%20version/204-2-6nj.CNG.swc or load it under
File->Open Sample->napari-swc-reader
Limitations:
- Only support swc file(s) following specs http://www.neuronland.org/NLMorphologyConverter/MorphologyFormats/SWC/Spec.html 7 columns
- Cannot write swc file(s) to disk but you can access the raw swc data from the napari layers from
metadataattribute with keyraw_swc
Roadmap:
- Switch to use
napari.layers.Graphwhen it is available
Installation
You can install napari-swc-reader via pip:
pip install napari-swc-reader
To install latest development version :
pip install git+https://github.com/LaboratoryOpticsBiosciences/napari-swc-reader.git
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-swc-reader" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file napari_swc_reader-0.1.3.tar.gz.
File metadata
- Download URL: napari_swc_reader-0.1.3.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
785cfb1cce5ba2d25ca06dff703d35cdf575d021a3e02af9f3e471ca962e4176
|
|
| MD5 |
0b495d08603b6b945e3162a74faa041c
|
|
| BLAKE2b-256 |
f41d23dbd65ea5b0d880ad5f6cbb2c085c446a3820df8cbcd462bdae71f1df86
|
File details
Details for the file napari_swc_reader-0.1.3-py3-none-any.whl.
File metadata
- Download URL: napari_swc_reader-0.1.3-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68cf7b8c5ed790dcc07ee178cbe5b990f6d1c87ff3d6219ab5ca6f9af6579f28
|
|
| MD5 |
0e5b49852064360420a62a41adc904ec
|
|
| BLAKE2b-256 |
82e396c5fd3e064850fbf2f683f056fb4e14564d1ba6ea9e574a407de4fb1208
|