A JupyterLab extension for viewing NIfTI files with Niivue
Project description
JupyterLab NiiVue Extension
A JupyterLab extension for viewing neuroimaging data using NiiVue.
Install
npm install
npm run build
Development
Running the Extension
npm run build
jupyter labextension develop . --overwrite
jupyter lab
Linting and Formatting
npm run lint:check # Check all lint rules
npm run lint:fix # Auto-fix lint issues
npm run format # Format code with Prettier
Troubleshooting
Stylelint Issues
If you encounter stylelint errors related to CSS class naming conventions or formatting, these can often be ignored during development. The current stylelint configuration is set to be permissive for development workflow.
Common stylelint errors you might see:
selector-class-pattern: CSS classes not following JupyterLab'sjp-prefix conventionprettier/prettier: Minor formatting differences
To temporarily disable stylelint for specific files, add this comment at the top:
/* stylelint-disable */
ESLint Configuration Issues
If you see errors about missing ESLint configurations (e.g., @typescript-eslint/eslint-plugin/recommended), install the missing packages:
npm install --save-dev @typescript-eslint/eslint-plugin @typescript-eslint/parser
Build Issues
If the build fails, try cleaning and rebuilding:
npm run clean
npm install
npm run build
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 Distributions
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 jupyterlab_niivue-0.2.0-py3-none-any.whl.
File metadata
- Download URL: jupyterlab_niivue-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8b0f869e77cf48b81337649ddd986c690e8db576065c965781e675e7e039a41
|
|
| MD5 |
d7a92ee829cd4e04ccc13e346b70381d
|
|
| BLAKE2b-256 |
a83d9af42242c420b5e975aca6fdd24f4b0b34a6acd4439f75a39e9af7bd0f8b
|