This file is indexed.

/usr/lib/voxbo/bin/minprep is in voxbo 1.8.5~svn1246-1ubuntu1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/bash

# minprep.sh - This script assumes you pass it one or more directory
# names that themselves contain Anatomy directories.  Each such
# directory must contain an Anatomical.cub file and a Functional.cub
# file, containing the high-res anatomical data in the former and a
# sample of your functional data in the latter.  Each file must
# contain an absolute corner position and voxel sizes.

TDIR=/usr/local/VoxBo/elements/templates
PWD=`pwd`
BPWD=`basename $PWD`

if (( $# > 0)) ; then
  ADIRS=$*
elif [ "$BPWD" == "Anatomy" ] ; then
  ADIRS="."
elif [ -d "Anatomy" ] ; then
  ADIRS="Anatomy"
else 
  echo 'argh'
  exit 255
fi

for DIR in $ADIRS ; do

  if [ -d "$DIR/Anatomy" ] ; then ADIR=$DIR/Anatomy
  else ADIR=$DIR ; fi

# Copy the estimated origin from Anatomical.cub to Functional.cub and back.  This ensures
# that the origin on Norm will be on an EPI voxel boundary

  setorigin -m $ADIR/Anatomical.cub $ADIR/Functional.cub
  if (($? > 0)) ; then exit 101 ; fi
  setorigin -m $ADIR/Functional.cub $ADIR/Anatomical.cub
  if (($? > 0)) ; then exit 101 ; fi

# create a Display.cub that's in the same space as the functional images

  resample $ADIR/Anatomical.cub $ADIR/Display.cub -ra $ADIR/Functional.cub
  if (($? > 0)) ; then exit 107 ; fi

  echo "minprep.sh: Done with directory '$ADIR'"

done