Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #395 from a3sha2/master
Browse files Browse the repository at this point in the history
FMRIPREP 20.2  LTS
  • Loading branch information
a3sha2 committed Sep 25, 2020
2 parents f627a2c + eebda6b commit c15ecff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/prestats/prestats.mod
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ while (( ${#rem} > 0 ))
imgprt=${img1[sub]%_*_*_*}
fi

if [[ ${imgprt}${conf} ]]; then
if [[ -f ${imgprt}${conf} ]]; then
exec_sys cp ${imgprt}${conf} $out/prestats/${prefix}_fmriconf.tsv
exec_sys cp ${imgprt}${conf2} $out/prestats/${prefix}_fmriconf.json
output confjson $out/prestats/${prefix}_fmriconf.json
Expand Down
2 changes: 1 addition & 1 deletion modules/task/task.mod
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ if (( ${task_fmriprep[cxt]} == 1 ))
imgprt=${img1[sub]%_*_*_*}
fi

if [[ ${imgprt}${conf} ]]; then
if [[ -f ${imgprt}${conf} ]]; then
exec_sys cp ${imgprt}${conf} $out/task/${prefix}_fmriconf.tsv
exec_sys cp ${imgprt}${conf2} $out/task/${prefix}_fmriconf.json
output confjson $out/task/${prefix}_fmriconf.json
Expand Down

0 comments on commit c15ecff

Please sign in to comment.