aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen-sfs-expand
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-05-23 20:40:19 +0200
committerThomas White <taw@physics.org>2014-05-23 20:46:59 +0200
commit8d878cbfaa38fd6d172002214f6c02e97441989f (patch)
tree480c6fe695d2fe6e7cde1f053ec842f257147021 /scripts/gen-sfs-expand
parentd01f8349223705860c53d78414b758575aa3e816 (diff)
Tidy up gen-sfs and gen-sfs-expand
Diffstat (limited to 'scripts/gen-sfs-expand')
-rwxr-xr-xscripts/gen-sfs-expand4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gen-sfs-expand b/scripts/gen-sfs-expand
index baadbf27..1cba00e4 100755
--- a/scripts/gen-sfs-expand
+++ b/scripts/gen-sfs-expand
@@ -54,7 +54,7 @@ if [ $? -ne 0 ]; then
fi
echo "Running sftools to expand reflections to P1..."
-sftools << EOF
+sftools >> gen-sfs.html << EOF
READ ${PDB}-sorted.mtz
EXPAND
WRITE ${PDB}-P1.mtz
@@ -73,6 +73,7 @@ fi
rm -f ${PDB}-P1.mtz
rm -f ${PDB}.mtz
+rm -f ${PDB}-sorted.mtz
perl < ${PDB}-temp.hkl > ${PDB}.hkl << WIBBLE
use strict;
@@ -106,6 +107,5 @@ while ( \$line = <FILE> ) {
close(FILE);
printf("End of reflections\n");
WIBBLE
-exit
rm -f ${PDB}-temp.hkl