# Check if the labels are used *and* it is doing a left-right inversion
if[$uselabels=yes];then
tmpf=`$FSLDIR/bin/tmpnam`_sd
$comm>$tmpf 2>&1
wl=`grep WARNING $tmpf | wc-l`;
# the line below just checks the swapping syntax - it does not require the true image, as any will do since the arguments are now reduced to x/y/z format