Generate XDS.INP: Difference between revisions

m
m (→‎The script: Remove two h5dump error messages (/entry/definition and goniometer/omega_start links not found))
Line 625: Line 625:
   # /entry/sample/goniometer/omega_start is missing in some eiger2 detectors (e.g. Eiger2 9M with fw version release-2020.2.1 and SIMPLON API 1.8) (Feng YU 2021-07-18)
   # /entry/sample/goniometer/omega_start is missing in some eiger2 detectors (e.g. Eiger2 9M with fw version release-2020.2.1 and SIMPLON API 1.8) (Feng YU 2021-07-18)
     if [ "$STARTING_ANGLE" == "" ]; then
     if [ "$STARTING_ANGLE" == "" ]; then
  echo "/entry/sample/goniometer/omega_start not found, try /entry/sample/goniometer/omega"
  echo "/entry/sample/goniometer/omega_start not found, trying /entry/sample/goniometer/omega"
  STARTING_ANGLE=`h5dump -d /entry/sample/goniometer/omega $FIRSTFRAME | grep "(0):" | head -n 1 | awk '{print $2}' | sed -e "s/,//g"`
  STARTING_ANGLE=`h5dump -d /entry/sample/goniometer/omega $FIRSTFRAME | grep "(0):" | head -n 1 | awk '{print $2}' | sed -e "s/,//g"`
     fi
     fi
Line 1,008: Line 1,008:
     if [ -e $neggia_path ]; then
     if [ -e $neggia_path ]; then
       echo LIB=$neggia_path >> XDS.INP
       echo LIB=$neggia_path >> XDS.INP
       echo LIB= line was written to XDS.INP . For Apple ARM64 processors, you must modify the name.
       echo LIB= line was written to XDS.INP . For Apple ARM64 M1 processors, you must modify the name.
     else
     else
       echo !LIB=/usr/local/lib64/dectris-neggia.so >> XDS.INP
       echo !LIB=/usr/local/lib64/dectris-neggia.so >> XDS.INP
2,652

edits