Conversion of images to the Neuroglancer pre-computed format
Project description
neuroglancer-scripts
Tools for converting volumetric images and surface meshes to the pre-computed format of Neuroglancer.
Installation
The easiest way to install the latest stable version of neuroglancer-scripts is through pip. Using a virtual environment is recommended:
python3 -m venv venv/
. venv/bin/activate
pip install neuroglancer-scripts
Usage
See the documentation.
Development
The code is hosted on https://github.com/HumanBrainProject/neuroglancer-scripts.
Useful commands for development:
git clone https://github.com/HumanBrainProject/neuroglancer-scripts.git
# Install in a virtual environment
cd neuroglancer-scripts
python3 -m venv venv/
. venv/bin/activate
pip install -e .[dev]
# Tests
pytest # run tests
pytest --cov=neuroglancer_scripts --cov-report=html # detailed test coverage report
tox # run tests under all supported Python versions
# Please install pre-commit if you intend to contribute
pre-commit install # install the pre-commit hook
Contributing
This repository uses pre-commit to ensure that all committed code follows minimal quality standards. Please install it and configure it to run as a pre-commit hook in your local repository (see above). Also, please note that the code quality checks may need a more recent version of Python than that required by neuroglancer_scripts itself (> 3.8 at the time of this writing).
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
Hashes for neuroglancer-scripts-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 395a3565808136950a1e3296b43eeda13a0108d2286eba2b2924b33c3b3abc70 |
|
MD5 | c4e491a72aa643b8feaec4d92eb514ed |
|
BLAKE2b-256 | 130b6c4fcb9c4b106eec13f9ef520d86fc17c74f31a426b8016fd6d497f45c42 |
Hashes for neuroglancer_scripts-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de0dfa640f9c3e33e6a6dc602cb8b5256dd71e8a4a1f1b10f0a9e159457cf74b |
|
MD5 | 2dbc222a63c715b7cb94780abb300a31 |
|
BLAKE2b-256 | 5c715d41cad363025caa54b1df5c3696243c77c6767911459eb1af482ea13757 |