git clone https://github.com/MetaCell/neuroglancer-python
cd neuroglancer-python
pip install -e .
git clone -b develop https://github.com/MetaCell/neuroglancer/tree/develop
cd neuroglancer
npm i
npm run build-python
pip install .
See examples folder. There is also a makefile that can be used by running make all
to generate example data, run the server, and open the browser. You need to modify the variables in the makefile to point to the correct paths.
While PRs have not yet been merged, you can install the neuroglancer
Python package from the forked repo of neuroglancer
at https://github.com/MetaCell/neuroglancer/tree/develop. See the installation instructions above.
cd tests
npm install
npm run test
You can update constants.js
to point to some different data.
npm install jest --global
cd tests
jest MATCH --config=jest.config.js
where MATCH
is a substring of the test name.