aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/gen-sfs4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gen-sfs b/scripts/gen-sfs
index fb178102..3c540a43 100755
--- a/scripts/gen-sfs
+++ b/scripts/gen-sfs
@@ -86,8 +86,8 @@ while ( \$line = <FILE> ) {
my \$intensity = \$4*\$4; # Square to convert F->I
my \$phase = \$5;
- printf("%4i %4i %4i %10.2f %s %10.2f %7i\n",
- \$h, \$k, \$l, \$intensity, " -", 0.0, 1);
+ printf("%4i %4i %4i %10.2f %8.2f %10.2f %7i\n",
+ \$h, \$k, \$l, \$intensity, \$phase, 0.0, 1);
} else {
printf(STDERR "Couldn't understand line '%s'\n", \$line);