Skip to content

Commit

Permalink
Fixed a wildcard search so it looks only for files. If it finds folde…
Browse files Browse the repository at this point in the history
…rs imcp crashes.
  • Loading branch information
demsarjure authored and coalsont committed Jul 25, 2023
1 parent 17686f3 commit 0e220bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fMRIVolume/GenericfMRIVolumeProcessingPipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ fi
if [ "$fMRIReference" != "NONE" ]; then
# --- copy over existing scout images
log_Msg "Copying Scout from Reference fMRI"
${FSLDIR}/bin/imcp ${fMRIReferencePath}/Scout* ${fMRIFolder}
find ${fMRIReferencePath} -maxdepth 1 -name "Scout*" -type f -exec ${FSLDIR}/bin/imcp {} ${fMRIFolder} \;

for simage in SBRef_nonlin SBRef_nonlin_norm
do
Expand Down

0 comments on commit 0e220bc

Please sign in to comment.