diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/get_hkl.c | 2 | ||||
-rw-r--r-- | src/reflections.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/get_hkl.c b/src/get_hkl.c index e8c28a21..5252dc54 100644 --- a/src/get_hkl.c +++ b/src/get_hkl.c @@ -213,7 +213,7 @@ int main(int argc, char *argv[]) } - write_reflections(output, NULL, ref, 1, mol->cell); + write_reflections(output, NULL, ref, 0, mol->cell); return 0; } diff --git a/src/reflections.c b/src/reflections.c index 6c26150d..7ab187aa 100644 --- a/src/reflections.c +++ b/src/reflections.c @@ -46,6 +46,9 @@ void write_reflections(const char *filename, unsigned int *counts, fprintf(fh, "b %5.3f nm\n", b*1e9); fprintf(fh, "angle %5.3f deg\n", rad2deg(gamma)); fprintf(fh, "scale 10\n"); + } else { + + fprintf(fh, " h k l I sigma(I) 1/d / nm^-1\n"); } for ( h=-INDMAX; h<INDMAX; h++ ) { |