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.
Release files for napari-swc-reader 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| napari_swc_reader-0.1.3.tar.gz | 22.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| napari_swc_reader-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.8 kB
Release files / napari_swc_reader-0.1.3.tar.gz
| Download URL | napari_swc_reader-0.1.3.tar.gz |
|---|---|
| Size | 22.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
785cfb1cce5ba2d25ca06dff703d35cdf575d021a3e02af9f3e471ca962e4176
|
|
BLAKE2b-256 checksum How to use checksums |
f41d23dbd65ea5b0d880ad5f6cbb2c085c446a3820df8cbcd462bdae71f1df86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / napari_swc_reader-0.1.3-py3-none-any.whl
| Download URL | napari_swc_reader-0.1.3-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68cf7b8c5ed790dcc07ee178cbe5b990f6d1c87ff3d6219ab5ca6f9af6579f28
|
|
BLAKE2b-256 checksum How to use checksums |
82e396c5fd3e064850fbf2f683f056fb4e14564d1ba6ea9e574a407de4fb1208
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|