Skip to content

Plotly Dash app to generate textures maps from MRI using Advanced Normalization Tools (ANTsPy)

License

Notifications You must be signed in to change notification settings

NOEL-MNI/noelTexturesPy

Repository files navigation

noelTexturesPy

Dash app to generate textures maps from MRI using Advanced Normalization Tools (ANTsPy)


Demo Documentation
demo.noel.neocortex.ca noel-mni.github.io/noelTexturesPy
username: demo
password: demo

Prerequisites

OS specific installation instructions: https://github.com/NOEL-MNI/noelTexturesPy/wiki/Installation

Usage noelTexturesPy GIF

Run the app (using prebuilt images)

docker pull noelmni/pynoel-gui-app:latest
docker run --rm -p 9999:9999 noelmni/pynoel-gui-app:latest

Access the Web UI at http://localhost:9999

Build the app

M1 Apple Silicon supported/tested, M2 untested as of 21-02-2023 (but will likely work without issues)

git clone https://github.com/NOEL-MNI/noelTexturesPy.git
cd noelTexturesPy
PLATFORMS=linux/arm64,linux/amd64
TAG=latest
docker buildx build --push --platform ${PLATFORMS} -t noelmni/pynoel-gui-base:${TAG} base-docker-image/
docker buildx build --push --platform ${PLATFORMS} -t noelmni/pynoel-gui-app:${TAG} . --build-arg BASE_SHORT_SHA_TAG=${TAG}

Troubleshoot buildx errors

docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker buildx create --name multiarch --driver docker-container --use
docker buildx inspect --bootstrap

Required inputs

Please ensure the file(s) are renamed accordingly before uploading it to noelTexturesPy.

- T1-weighted image must include the string “t1” or “T1” in its filename, and/or
- T2-weighted (or FLAIR) image must include either “t2”, “T2”, “flair”, or “FLAIR”