-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
47e46b2
commit 55bb561
Showing
9 changed files
with
120 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/bin/bash | ||
|
||
cat << DOC | ||
Test paired DWI series with DRBUDDI | ||
=================================== | ||
This tests the following features: | ||
- Eddy is run on a CPU | ||
- DRBUDDI is run with two DWI series | ||
DOC | ||
|
||
set +e | ||
source ./get_data.sh | ||
TESTDIR=${PWD} | ||
TESTNAME=DRBUDDI_RPE | ||
get_config_data ${TESTDIR} | ||
get_bids_data ${TESTDIR} drbuddi_rpe_series | ||
CFG=${TESTDIR}/data/nipype.cfg | ||
EDDY_CFG=${TESTDIR}/data/eddy_cuda_config.json | ||
|
||
# For the run | ||
setup_dir ${TESTDIR}/${TESTNAME} | ||
TEMPDIR=${TESTDIR}/${TESTNAME}/work | ||
OUTPUT_DIR=${TESTDIR}/${TESTNAME}/derivatives | ||
BIDS_INPUT_DIR=${TESTDIR}/data/tinytensor_rpe_series | ||
export FS_LICENSE=${TESTDIR}/data/license.txt | ||
QSIPREP_CMD=$(run_qsiprep_cmd ${BIDS_INPUT_DIR} ${OUTPUT_DIR}) | ||
|
||
# Do the anatomical run on its own | ||
${QSIPREP_CMD} \ | ||
-w ${TEMPDIR} \ | ||
--sloppy \ | ||
--anat-modality none \ | ||
--denoise-method none \ | ||
--b1_biascorrect_stage none \ | ||
--pepolar-method DRBUDDI \ | ||
--eddy_config ${EDDY_CFG} \ | ||
--output-resolution 5 \ | ||
-vv --stop-on-first-crash | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters