Skip to main content

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's jp- prefix convention
  • prettier/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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyterlab_niivue-0.2.0-py3-none-any.whl (6.4 MB view details)

Uploaded Python 3

File details

Details for the file jupyterlab_niivue-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_niivue-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c8b0f869e77cf48b81337649ddd986c690e8db576065c965781e675e7e039a41
MD5 d7a92ee829cd4e04ccc13e346b70381d
BLAKE2b-256 a83d9af42242c420b5e975aca6fdd24f4b0b34a6acd4439f75a39e9af7bd0f8b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page