aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen-sfs
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-03-03 17:03:28 +0100
committerThomas White <taw@physics.org>2014-03-03 17:03:28 +0100
commit29f05a21f0782201751e8ad5ff78b42836979f73 (patch)
tree4938eacad8ac99ae1cce51f85720da8fb9934bdd /scripts/gen-sfs
parentbe6df1aaf9df81f836118e426aae5d0f699bd493 (diff)
Update scripts for new reflection list format
Diffstat (limited to 'scripts/gen-sfs')
-rwxr-xr-xscripts/gen-sfs6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/gen-sfs b/scripts/gen-sfs
index 7cc20014..99216cf6 100755
--- a/scripts/gen-sfs
+++ b/scripts/gen-sfs
@@ -61,7 +61,7 @@ use strict;
my \$line;
open(FILE, "${PDB}-temp.hkl");
-printf(" h k l I phase sigma(I) counts fs/px ss/px\\n");
+printf(" h k l I phase sigma(I) nmeas\n");
while ( \$line = <FILE> ) {
@@ -73,8 +73,8 @@ while ( \$line = <FILE> ) {
my \$intensity = \$4*\$4; # Square to convert F->I
my \$phase = \$5;
- printf("%3i %3i %3i %10.2f %8.2f %10.2f %7i %6.1f %6.1f\n",
- \$h, \$k, \$l, \$intensity, \$phase, 0.0, 1, 0.0, 0.0);
+ printf("%4i %4i %4i %10.2f %s %10.2f %7i\n",
+ \$h, \$k, \$l, \$intensity, " -", \$sigi, 1);
} else {
printf(STDERR "Couldn't understand line '%s'\n", \$line);