aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-05-12 11:29:24 +0200
committerThomas White <taw@physics.org>2020-05-12 11:30:37 +0200
commit32c4a7d90af646184ffe75daa5c5cbba3f7738dd (patch)
treedc4856bc0df7d7202b9249b0dbd36086017ae7e8
parent46f0a3908edb0339ff6c475bc6a3c5040b077109 (diff)
scripts/*2hkl: Add reflection list header
-rwxr-xr-xscripts/cif2hkl2
-rwxr-xr-xscripts/hkl2hkl2
-rwxr-xr-xscripts/mtz2hkl2
3 files changed, 6 insertions, 0 deletions
diff --git a/scripts/cif2hkl b/scripts/cif2hkl
index f03b1b69..04bfabe5 100755
--- a/scripts/cif2hkl
+++ b/scripts/cif2hkl
@@ -4,6 +4,8 @@ use strict;
my $line;
+printf("CrystFEL reflection list version 2.0\n");
+printf("Symmetry: 1\n");
printf(" h k l I phase sigma(I) nmeas\n");
while ( $line = <STDIN> ) {
diff --git a/scripts/hkl2hkl b/scripts/hkl2hkl
index 1557bfd7..3249938a 100755
--- a/scripts/hkl2hkl
+++ b/scripts/hkl2hkl
@@ -4,6 +4,8 @@ use strict;
my $line;
+printf("CrystFEL reflection list version 2.0\n");
+printf("Symmetry: 1\n");
printf(" h k l I phase sigma(I) nmeas\n");
while ( $line = <STDIN> ) {
diff --git a/scripts/mtz2hkl b/scripts/mtz2hkl
index 56a5fce1..e1c98251 100755
--- a/scripts/mtz2hkl
+++ b/scripts/mtz2hkl
@@ -11,6 +11,8 @@ use strict;
my \$line;
open(FILE, "$2.temp");
+printf("CrystFEL reflection list version 2.0\n");
+printf("Symmetry: 1\n");
printf(" h k l I phase sigma(I) nmeas\n");
while ( \$line = <FILE> ) {