2,684
edits
Line 49: | Line 49: | ||
#!/bin/bash | #!/bin/bash | ||
# Kay Diederichs 10/2015 | # Kay Diederichs 10/2015 | ||
# 3/2016 adapt for eiger2cbf-linux | # 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" | ||
# | # | ||
# | # 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" | ||
#/usr/local/bin/eiger2cbf-linux $1 $2 "$tempfile" >& /dev/null | #/usr/local/bin/eiger2cbf-linux $1 $2 "$tempfile" >& /dev/null | ||
#/usr/local/bin/hdf2mini-cbf $1 $2 "$tempfile" | #/usr/local/bin/hdf2mini-cbf $1 $2 "$tempfile" | ||
ln -sf "$tempfile" $3 2>/dev/null | |||
</pre> | </pre> | ||