Eiger: Difference between revisions

272 bytes removed ,  20 March 2016
Line 49: Line 49:
#!/bin/bash
#!/bin/bash
# Kay Diederichs 10/2015
# Kay Diederichs 10/2015
# 3/2016 adapt for eiger2cbf-linux/hdf2min-cbf
# 3/2016 adapt for eiger2cbf-linux and hdf2min-cbf
# for the latter see https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ccp4bb;58a4ee1.1603 and
# for the latter see https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ccp4bb;58a4ee1.1603 and
# https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ccp4bb;a048b4e8.1603  
# https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ccp4bb;a048b4e8.1603  
Line 65: Line 65:
tempfile="/dev/shm/H5ToXds${PWD//\//_}.$3"
tempfile="/dev/shm/H5ToXds${PWD//\//_}.$3"
#
#
# comment out the next 2 lines when using hdf2mini-cbf or eiger2cbf; uncomment for H5ToXds.bin
# choose between H5ToXds.bin,  eiger2cbf and hdf2mini-cbf; un/comment accordingly
/usr/local/bin/H5ToXds.bin $1 $2 "$tempfile"
/usr/local/bin/H5ToXds.bin $1 $2 "$tempfile"
ln -sf "$tempfile" $3 2>/dev/null
#
# comment out the next 2 lines when using H5ToXds.bin or hdf2mini-cbf; uncomment for eiger2cbf
#/usr/local/bin/eiger2cbf-linux $1 $2 "$tempfile" >& /dev/null
#/usr/local/bin/eiger2cbf-linux $1 $2 "$tempfile" >& /dev/null
#ln -sf "$tempfile" $3 2>/dev/null
#
# comment out the next 2 lines when using H5ToXds.bin or eiger2cbf; uncomment for hdf2mini-cbf
#/usr/local/bin/hdf2mini-cbf $1 $2 "$tempfile"  
#/usr/local/bin/hdf2mini-cbf $1 $2 "$tempfile"  
#ln -sf "$tempfile" $3 2>/dev/null
ln -sf "$tempfile" $3 2>/dev/null
</pre>
</pre>


2,652

edits