-
Notifications
You must be signed in to change notification settings - Fork 12
Testing
Mathias Goncalves edited this page Apr 29, 2025
·
2 revisions
When testing a bug fix, some patches can be easily applied to existing images by mounting the updated source code. This avoids spending time and resources having to pull a new image on Docker or Singularity/Apptainer.
Click here if you do not yet have a local copy of the repository
# The following command makes a local copy (clone), with just the branch name
git clone https://github.com/nipreps/nibabies.git --branch <branch-name> --single-branch
The branch name is listed at the top of the pull request.
Click here if you already have a local copy
cd <path/to/nibabies>
git fetch origin <branch-name>
git checkout <branch-name>
# Singularity / Apptainer
-B </path/to/nibabies>/nibabies:/opt/conda/envs/nibabies/lib/python3.11/site-packages/nibabies:ro
# Docker
-v </path/to/nibabies>/nibabies:/opt/conda/envs/nibabies/lib/python3.11/site-packages/nibabies:ro