2,684
edits
m (→The script) |
(→The script: rev 1.13 make /usr/local/lib64/dectris-neggia.so into a variable, and similarly for durin-plugin.so) |
||
Line 130: | Line 130: | ||
# revision 1.11 . KD / Helena Taberman ROTATION_AXIS=-1 0 0 for Eiger .cbf data from Petra P14 | # revision 1.11 . KD / Helena Taberman ROTATION_AXIS=-1 0 0 for Eiger .cbf data from Petra P14 | ||
# revision 1.12 . KD / Helena Taberman correct rev 1.11 to be 0 -1 0 | # revision 1.12 . KD / Helena Taberman correct rev 1.11 to be 0 -1 0 | ||
REVISION="1. | # revision 1.13 . KD turn /usr/local/lib64/dectris-neggia.so into a variable, and similarly for durin-plugin.so | ||
REVISION="1.13 (02-Jun-2022)" | |||
# | # | ||
Line 1,004: | Line 1,005: | ||
if [ "$DET" == "eiger" ] && [ "$is_h5" == 1 ]; then | if [ "$DET" == "eiger" ] && [ "$is_h5" == 1 ]; then | ||
if [ "$DLS" == 0 ] ; then | if [ "$DLS" == 0 ] ; then | ||
neggia_path=/usr/local/lib64/dectris-neggia.so | |||
echo LIB= | if [ -e $neggia_path ]; then | ||
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 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 | ||
echo | echo dectris-neggia.so not found. Specify LIB=<path-to-dectris-neggia> in XDS.INP & fix your generate_XDS.INP ! | ||
fi | fi | ||
else | else | ||
durin_path=/usr/local/lib64/durin-plugin.so | |||
echo LIB= | if [ -e $durin_path ]; then | ||
echo LIB=$durin_path >> XDS.INP | |||
echo LIB= line was written to XDS.INP | echo LIB= line was written to XDS.INP | ||
else | else | ||
echo !LIB=/usr/local/lib64/durin-plugin.so >> XDS.INP | echo !LIB=/usr/local/lib64/durin-plugin.so >> XDS.INP | ||
echo | echo durin-plugin.so not found. Specify LIB=<path-to-durin-plugin> in XDS.INP & fix your generate_XDS.INP ! | ||
fi | fi | ||
fi | fi |