aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen-sfs-expand
diff options
context:
space:
mode:
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