Generate XDS.INP: Difference between revisions

Jump to navigation Jump to search
→‎The script: rev 1.13 make /usr/local/lib64/dectris-neggia.so into a variable, and similarly for durin-plugin.so
(→‎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.12 (25-MAR-2022)"
# 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
     if [ -e /usr/local/lib64/dectris-neggia.so ]; then
     neggia_path=/usr/local/lib64/dectris-neggia.so
       echo LIB=/usr/local/lib64/dectris-neggia.so >> XDS.INP
    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 /usr/local/lib64/dectris-neggia.so was not found - specify location manually!
       echo dectris-neggia.so not found. Specify LIB=<path-to-dectris-neggia> in XDS.INP & fix your generate_XDS.INP !
     fi
     fi
   else
   else
     if [ -e /usr/local/lib64/durin-plugin.so ]; then
     durin_path=/usr/local/lib64/durin-plugin.so
       echo LIB=/usr/local/lib64/durin-plugin.so >> XDS.INP
    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 /usr/local/lib64/durin-plugin.so was not found - specify location manually!
       echo durin-plugin.so not found. Specify LIB=<path-to-durin-plugin> in XDS.INP & fix your generate_XDS.INP !
     fi
     fi
   fi  
   fi  
2,684

edits

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

Navigation menu