Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bootstrap-fmriprep.sh #6

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions scripts/cubic/bootstrap-fmriprep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,15 @@ fi

## Add the containers as a subdataset
cd ${PROJECTROOT}
datalad clone ria+ssh://sciget.pmacs.upenn.edu:/project/bbl_projects/containers#~pennlinc-containers pennlinc-containers
# download the image so we don't ddos pmacs
cd pennlinc-containers
datalad get -r .
# get rid of the references to pmacs
set +e
datalad siblings remove -s pmacs-ria-storage
datalad siblings remove -s origin
set -e

# Clone the containers dataset. If specified on the command, use that path
CONTAINERDS=$2
if [[ ! -z "${CONTAINERDS}" ]]; then
datalad clone ${CONTAINERDS} pennlinc-containers
else
echo ERROR: requires a container dataset
exit 1
fi

cd ${PROJECTROOT}/analysis
datalad install -d . --source ${PROJECTROOT}/pennlinc-containers
Expand Down