aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen-sfs2
-rwxr-xr-xscripts/gen-sfs-expand4
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/gen-sfs b/scripts/gen-sfs
index 3c540a43..24e037bf 100755
--- a/scripts/gen-sfs
+++ b/scripts/gen-sfs
@@ -64,6 +64,7 @@ if [ $? -ne 0 ]; then
fi
rm -f ${PDB}.mtz
+rm -f ${PDB}-sorted.mtz
perl < ${PDB}-temp.hkl > ${PDB}.hkl << WIBBLE
use strict;
@@ -97,6 +98,5 @@ while ( \$line = <FILE> ) {
close(FILE);
printf("End of reflections\n");
WIBBLE
-exit
rm -f ${PDB}-temp.hkl
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