Skip to content

DataLad

This page explains how to use DataLad and the ReproNim containers with Neurodesk tools.

Install DataLad, datalad-container, and the ReproNim containers repository

Section titled “Install DataLad, datalad-container, and the ReproNim containers repository”
Terminal window
conda install datalad
pip install datalad_container
datalad install https://github.com/ReproNim/containers.git
cd containers
Terminal window
datalad containers-list

Download and run the latest container version

Section titled “Download and run the latest container version”
Terminal window
datalad containers-run -n neurodesk-romeo

You can change which version of a container is used in two ways.

Option 1: change version in .datalad/config

Section titled “Option 1: change version in .datalad/config”
Terminal window
vi .datalad/config
# now change the version of the container you like
# all available containers can be seen via `ls images/neurodesk`
datalad save -m 'downgraded version of romeo to x.x.x'
datalad containers-run -n neurodesk-romeo

Option 2: change version using the freeze_versions script

Section titled “Option 2: change version using the freeze_versions script”
Terminal window
# all available containers can be seen via `ls images/neurodesk`
scripts/freeze_versions neurodesk-romeo=3.2.4
datalad save -m 'downgraded version of romeo to 3.2.4'
datalad containers-run -n neurodesk-romeo