Generate XDS.INP: Difference between revisions

→‎The script: version 0.91 (allow negative STARTING_ANGLE for Eiger)
(→‎The script: for REFINE(IDXREF), re-word comments written to XDS.INP)
(→‎The script: version 0.91 (allow negative STARTING_ANGLE for Eiger))
Line 107: Line 107:
# revision 0.89 . KD 21/10/2019 add ADSC S/N 905 at ALS 8.2.1, S/N 928 at Australian Synchrotron MX2 beamline; final SSRF fixes
# revision 0.89 . KD 21/10/2019 add ADSC S/N 905 at ALS 8.2.1, S/N 928 at Australian Synchrotron MX2 beamline; final SSRF fixes
# revision 0.90 . KD 25/10/2019 add OLDMAR detector type. Tested w/ SBGrid data set 6. Anomalous signal may have wrong hand!
# revision 0.90 . KD 25/10/2019 add OLDMAR detector type. Tested w/ SBGrid data set 6. Anomalous signal may have wrong hand!
REVISION="0.90 (25-Oct-2019)"
# revision 0.91 . KD 16/01/2020 Allow negative starting angle for Eiger (found -33 at SLS !).
REVISION="0.91 (16-Jan-2020)"


#                                                                                                             
#                                                                                                             
Line 534: Line 535:
    
    
   #STARTING_ANGLE:
   #STARTING_ANGLE:
   STARTING_ANGLE=`h5dump -d "/entry/sample/goniometer/omega_start" $FIRSTFRAME | awk '/\(0\): [0-9]/{print $2}'`
  # the \- was introduced in version 0.91 :
   STARTING_ANGLE=`h5dump -d "/entry/sample/goniometer/omega_start" $FIRSTFRAME | awk '/\(0\): [\-0-9]/{print $2}'`


   # If rotation vector set (NeXus)
   # If rotation vector set (NeXus)
2,651

edits