4n4574514 / landmark-reg

Landmark based registration of brain imaging volumes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

landmark-reg

Interactive tool for landmark-based spatial alignment of volumetric images

Developement set-up

Prerequisites:

  • Python version 3.4 or later;
  • Nodejs and the yarn package manager.

First, set up a virtual environment for the back-end under venv/, and install the dependencies there:

python3 -m venv venv
. venv/bin/activate
python -m pip install -r requirements.txt

Once this is done, you can use yarn install to install the dependencies, yarn start to build the front-end, and start the backend in debug mode.

. venv/bin/activate
yarn install
yarn start

The app should be accessible on http://localhost:5000/ .

If you make changes to the front-end you may want to use yarn run test:watch to automatically run tests on every change, and yarn run build:watch to automatically re-build the JavaScript bundle that is served to the browser (frontend/bundle).

Tests

Unit-tests for the frontend

yarn run test

Unit-tests for the backend

TODO

End-to-end tests

TODO

About

Landmark based registration of brain imaging volumes


Languages

Language:JavaScript 65.2%Language:HTML 17.3%Language:Python 13.6%Language:CSS 3.1%Language:Dockerfile 0.7%Language:Shell 0.1%