From d21f2eb608431cd11b93aa96de3c792713829b44 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 6 Mar 2012 16:10:53 +0100 Subject: Don't include 1/d in reflection lists, because it's pointless --- scripts/gen-sfs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'scripts/gen-sfs') diff --git a/scripts/gen-sfs b/scripts/gen-sfs index bf86fb01..619ac08f 100755 --- a/scripts/gen-sfs +++ b/scripts/gen-sfs @@ -50,8 +50,7 @@ use strict; my \$line; open(FILE, "${PDB}-temp.hkl"); -printf(" h k l I phase sigma(I) 1/d(nm^-1) ". - "counts fs/px ss/px\\n"); +printf(" h k l I phase sigma(I) counts fs/px ss/px\\n"); while ( \$line = ) { @@ -63,9 +62,8 @@ while ( \$line = ) { my \$intensity = \$4*\$4; # Square to convert F->I my \$phase = \$5; - printf("%3i %3i %3i %10.2f %8.2f %10.2f %s %7i %6.1f %6.1f\n", - \$h, \$k, \$l, \$intensity, \$phase, 0.0, - " -", 1, 0.0, 0.0); + 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); } else { printf(STDERR "Couldn't understand line '%s'\n", \$line); -- cgit v1.2.3