Skip to content

Commit

Permalink
[FIX] Address issue when identical .nii and .nii.gz uploaded; default…
Browse files Browse the repository at this point in the history
… to nii.gz
  • Loading branch information
Dan Levitas committed Oct 23, 2023
1 parent 4a55712 commit 2ea4353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/preprocess.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ else
echo "Making sure all NIfTI files are in .nii.gz format"
touch $root/nii_files
find $root -name "*.nii" > $root/nii_files
[ -s $root/nii_files ] && gzip $(cat $root/nii_files)
[ -s $root/nii_files ] && gzip --force $(cat $root/nii_files)

echo "processing $root"

Expand Down

0 comments on commit 2ea4353

Please sign in to comment.