Commit 822bf8bf authored by Adrian Nievergelt's avatar Adrian Nievergelt

corrected thickness bug

parent 988a1c2f
...@@ -35,7 +35,7 @@ binFactor=`grep -i "^IMAGEBINNED" |sed -e 's/^[[:alnum:]]\+\s\+//g'` ...@@ -35,7 +35,7 @@ binFactor=`grep -i "^IMAGEBINNED" |sed -e 's/^[[:alnum:]]\+\s\+//g'`
numSlicesFull=`grep -i "^FULLIMAGE" |sed -e 's/^[[:alnum:]]\+\s\+[[:alnum:]]\+\s\+//g'` numSlicesFull=`grep -i "^FULLIMAGE" |sed -e 's/^[[:alnum:]]\+\s\+[[:alnum:]]\+\s\+//g'`
numSlices=$((numSlicesFull/binFactor-1)) numSlices=$((numSlicesFull/binFactor-1))
fullThickness=`grep -i "^THICKNESS" |sed -e 's/^[[:alnum:]]\+\s\+//g'` fullThickness=`grep -i "^THICKNESS" |sed -e 's/^[[:alnum:]]\+\s\+//g'`
thickness=$((numSlicesFull/binFactor)) thickness=$((fullThickness/binFactor))
mkdir -p $baseDir mkdir -p $baseDir
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment