Skip to content
This provides HTTP interfaces for creating, updating, and exporting DataLad datasets, used by OpenNeuro.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
datalad_service
tests
.dockerignore
.gitignore
Dockerfile
LICENSE
README.md
dataset-worker
get_docker_scale.py
package.json
publish-worker
requirements.txt
ssh_config
yarn.lock

README.md

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
You can’t perform that action at this time.