From d01f8349223705860c53d78414b758575aa3e816 Mon Sep 17 00:00:00 2001 From: Lorenzo Galli Date: Fri, 23 May 2014 14:43:44 +0200 Subject: gen-sfs didn't output the phases in the .hkl file --- scripts/gen-sfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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 = ) { 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); -- cgit v1.2.3