OpenNeuroOrg / datalad-service

This repository has moved into the main OpenNeuro repo

Home Page:https://github.com/OpenNeuroOrg/openneuro/tree/master/services/datalad

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This provides HTTP interfaces for creating, updating, and exporting DataLad datasets, used by OpenNeuro. Underlying Git / DataLad APIs do not allow for concurrent operations in many cases, to solve this each repo is assigned to an exclusive-read queue. Multiple clients accessing one repo requires a higher level API, such as the one implemented in OpenNeuro.

Setup

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

You will also need npm or Yarn to install the bids-validator.

yarn

or

npm install

Running

gunicorn --reload "datalad_service.app:create_app('/path-to-repos')"

Tests

pytest

About

This repository has moved into the main OpenNeuro repo

https://github.com/OpenNeuroOrg/openneuro/tree/master/services/datalad

License:MIT License


Languages

Language:Python 98.5%Language:Dockerfile 1.1%Language:Shell 0.4%