Generate XDS.INP: Difference between revisions

Jump to navigation Jump to search
→‎The script: revision 1.19
(→‎The script: revision 1.19)
Line 144: Line 144:
# revision 1.17 . JMK 31/05/2023 fix sed error for Mac, where \| is not supported
# revision 1.17 . JMK 31/05/2023 fix sed error for Mac, where \| is not supported
# revision 1.18 . JMK 19/08/2023 Pilatus 12M support, give help msg if $5 defined (i.e. unquoted frame pattern)
# revision 1.18 . JMK 19/08/2023 Pilatus 12M support, give help msg if $5 defined (i.e. unquoted frame pattern)
REVISION="1.18 (19-Aug-2023)"
# revision 1.19 . KD 14/10/2023 Pilatus 12M at DLS I23 has reverse phi. Fix download commands.
REVISION="1.19 (14-Oct-2023)"


#
#
Line 560: Line 561:
       # Known detectors for reversed-phi at SSRF BL18U1 (S/N 60-0123) and BL19U1 (S/N XX-XXX) (!; 2019-10-19: staff will fix this)
       # Known detectors for reversed-phi at SSRF BL18U1 (S/N 60-0123) and BL19U1 (S/N XX-XXX) (!; 2019-10-19: staff will fix this)
       DET_SN=`grep "Detector:" tmp2 | sed "s/^.*Detector: *//"`
       DET_SN=`grep "Detector:" tmp2 | sed "s/^.*Detector: *//"`
      echo detector serial number is $DET_SN
       REVERSEPHI_SNs="
       REVERSEPHI_SNs="
PILATUS3 6M, S/N 60-0125
PILATUS3 6M, S/N 60-0125
Line 566: Line 568:
PILATUS3 6M, S/N 60-0127
PILATUS3 6M, S/N 60-0127
PILATUS3 6M, S/N 60-0123
PILATUS3 6M, S/N 60-0123
PILATUS 12M, S/N 120-0100
"
"
       if echo "${DET_SN}${REVERSEPHI_SNs}" | sort | uniq -d | grep [0-9] > /dev/null; then
       if echo "${DET_SN}${REVERSEPHI_SNs}" | sort | uniq -d | grep [0-9] > /dev/null; then
2,652

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu