Skip to content

LREN-CHUV/mri-preprocessing-pipeline

Repository files navigation

License CHUV

MRI preprocesing pipeline

Pre-processing pipelines for MRI neuroimaging.

Those pipelines work on Matlab and SPM 12.

They are used daily by LREN to extract features from subjects enrolled in neuroscience research studies.

In addition, those pipelines are deployed to hospitals participating in the Medical Informatics platform of the Human Brain Project to process clinical MRI scans.

Release process

This project is organised around two Git branches:

  • master: for normal development of the pipelines
  • deploy: for deployment of the pipelines to a Data Factory.

All commits on the deploy branch should be signed with PGP by an authorised developer. Use

   git checkout deploy
   git merge --no-ff master

to merge code from master branch to deploy branch. Add a signoff in file signoffs.md, then

  git commit -S -m "Signoff" signoffs.md
  git tag -s 1.0

to add a signoff and allow deployment of the pipeline to the Data Factories. It is best practice to tag with signing the version ready for deployment with a release number.

More information about GPG and verified Git commits can be found on this Git signing guide.

After release, merge the changes on deploy branch back to master branch:

  git checkout master
  git merge deploy

Deployment

As Git signing is used, to deploy a new version of mri-preprocessing-pipeline on a target computer, you need to:

  1. For the user running the pipelines (airflow user if you use the default Data Factory settings), you need to create a PGP key.
  2. Then for each trusted release managers of this project, you need add trust to this PGP key.

Trusted release managers are currently (31/03/2017):

License

Copyright © 2016 LREN CHUV

Licensed under the GNU Affero General Public License, Version 3.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.gnu.org/licenses/agpl-3.0.html

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Acknowledgements

This work has been funded in part by the European Union Seventh Framework Program (FP7/2007­2013) under grant agreement no. 604102 (HBP)

This work is part of SP8 of the Human Brain Project (SGA1).