Skip to content
This repository has been archived by the owner on Apr 30, 2020. It is now read-only.

Landmark based registration of brain imaging volumes

License

Notifications You must be signed in to change notification settings

HumanBrainProject/landmark-reg

Repository files navigation

landmark-reg

Interactive tool for landmark-based spatial alignment of volumetric images

Retired project

This code base is now retired, it has served its purpose as a prototype and has been refactored and renamed to Voluba:

A production deployment of Voluba is available at https://voluba.apps.hbp.eu/.


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