aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-11-25 17:05:48 +0100
committerThomas White <taw@physics.org>2014-11-25 17:05:48 +0100
commit337c952da1142c40bf8ef02a61c85caf106c17de (patch)
treedf4025128b353c82fa883dad6a096b40567a09f3 /libcrystfel
parentf569ac9cf1dea0967181fbead97c25fc52a29736 (diff)
Formatting
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/stream.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c
index 77d65531..00f1a8fd 100644
--- a/libcrystfel/src/stream.c
+++ b/libcrystfel/src/stream.c
@@ -518,18 +518,22 @@ static int write_stream_reflections_2_1(FILE *fh, RefList *list,
return 1;
}
- /* Convert coordinates to match arrangement of panels in HDF5
- * file */
+ /* Convert coordinates to match arrangement of panels
+ * in HDF5 file */
write_fs = fs - p->min_fs + p->orig_min_fs;
write_ss = ss - p->min_ss + p->orig_min_ss;
- fprintf(fh, "%3i %3i %3i %10.2f %s %10.2f %7i %6.1f %6.1f\n",
- h, k, l, intensity, phs, esd_i, red, write_fs, write_ss);
+ fprintf(fh, "%3i %3i %3i %10.2f %s %10.2f %7i "
+ "%6.1f %6.1f\n",
+ h, k, l, intensity, phs, esd_i, red,
+ write_fs, write_ss);
} else {
- fprintf(fh, "%3i %3i %3i %10.2f %s %10.2f %7i %6.1f %6.1f\n",
- h, k, l, intensity, phs, esd_i, red, fs, ss);
+ fprintf(fh, "%3i %3i %3i %10.2f %s %10.2f %7i "
+ "%6.1f %6.1f\n",
+ h, k, l, intensity, phs, esd_i, red,
+ fs, ss);
}
}