-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH] allow topup+drbuddi for hbcd (#667)
- Loading branch information
1 parent
bb7ea25
commit 13225c4
Showing
13 changed files
with
177 additions
and
78 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,44 @@ | ||
#!/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=HBCD | ||
get_config_data ${TESTDIR} | ||
get_bids_data ${TESTDIR} HBCD | ||
CFG=${TESTDIR}/data/nipype.cfg | ||
EDDY_CFG=${TESTDIR}/data/eddy_config.json | ||
|
||
# For the run | ||
setup_dir ${TESTDIR}/${TESTNAME} | ||
TEMPDIR=${TESTDIR}/${TESTNAME}/work | ||
OUTPUT_DIR=${TESTDIR}/${TESTNAME}/derivatives | ||
BIDS_INPUT_DIR=${TESTDIR}/data/hbcd_sim | ||
export FS_LICENSE=${TESTDIR}/data/license.txt | ||
QSIPREP_CMD=$(run_qsiprep_cmd ${BIDS_INPUT_DIR} ${OUTPUT_DIR}) | ||
|
||
# Do the HBCD-style run | ||
${QSIPREP_CMD} \ | ||
-w ${TEMPDIR} \ | ||
--sloppy \ | ||
--anat-modality T2w \ | ||
--infant \ | ||
--denoise-method dwidenoise \ | ||
--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
Binary file not shown.
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
Oops, something went wrong.