Generate XDS.INP: Difference between revisions

BESSY special treatment
(a bit of error handling)
(BESSY special treatment)
Line 108: Line 108:
         echo "could not find /usr/local/bin/catmar - fill XXX values manually!"
         echo "could not find /usr/local/bin/catmar - fill XXX values manually!"
       fi
       fi
  fi
# at BESSY the header is different:
  strings `head -1 tmp1` | grep -q Corrected && DET=mccdbessy
  if [ "$DET" == "mccdbessy" ]; then
      QX=`echo "scale=10; $QX/1000000" |bc -l `
      ORGX=`echo "scale=1; $ORGX/$QX" | bc -l`
      ORGY=`echo "scale=1; $ORGY/$QX" | bc -l`
   fi
   fi
   
   
2,651

edits