Generate XDS.INP: Difference between revisions

(→‎The script: work on I24)
(→‎The script: v 0.70)
Line 86: Line 86:
# revision 0.69 . KD 04/11/2016 add CMOS-1 MBC Detector at ALS 4.2.2
# revision 0.69 . KD 04/11/2016 add CMOS-1 MBC Detector at ALS 4.2.2
# revision 0.70beta . KD 08/12/2016 ROTATION_AXIS=0 -1 0 at Diamond I24; depending on CBF header
# revision 0.70beta . KD 08/12/2016 ROTATION_AXIS=0 -1 0 at Diamond I24; depending on CBF header
REVISION="0.70beta (08-Dec-2016)"
# revision 0.70 . KD 12/01/2017 remove error message if h5dump does not find /entry/sample/transformations/omega/vector
REVISION="0.70 (12-Jan-2017)"


#                                                                                                             
#                                                                                                             
Line 461: Line 462:


       # If rotation vector set (NeXus)
       # If rotation vector set (NeXus)
       rotation_axis=`h5dump -a "/entry/sample/transformations/omega/vector" $FIRSTFRAME | grep "(0):" | sed -e "s/^.*://; s/,//g"`
       rotation_axis=`h5dump -a "/entry/sample/transformations/omega/vector" $FIRSTFRAME 2>/dev/null | grep "(0):" | sed -e "s/^.*://; s/,//g"`
    
    
elif [ "$DET" == "raxis" ]; then
elif [ "$DET" == "raxis" ]; then
2,684

edits