Generate XDS.INP: Difference between revisions

→‎The script: thanks to Feng Yu: fix typo for BNL detector E-18-0121 -> E-18-0104
m (→‎The script: rev 1.08)
(→‎The script: thanks to Feng Yu: fix typo for BNL detector E-18-0121 -> E-18-0104)
Line 678: Line 678:
     fi
     fi
# revision 1.05 specialcase nframes for Eiger detectors at BNL
# revision 1.05 specialcase nframes for Eiger detectors at BNL
     if [ "$SN" == "E-18-0121" -o "$SN" == "E-32-0101" ]; then
     if [ "$SN" == "E-18-0104" -o "$SN" == "E-32-0101" ]; then
       echo specialcase nframes for Eiger detectors at BNL:
       echo specialcase nframes for Eiger detectors at BNL:
       nframes=`h5dump -A -g "/entry/data" $FIRSTFRAME | grep "DATASPACE  SIMPLE" | sed -e "s/,.*//" | awk '{a+=$5}END{print a}'`
       nframes=`h5dump -A -g "/entry/data" $FIRSTFRAME | grep "DATASPACE  SIMPLE" | sed -e "s/,.*//" | awk '{a+=$5}END{print a}'`
2,684

edits