aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/detector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c
index debb64fb..610da657 100644
--- a/libcrystfel/src/detector.c
+++ b/libcrystfel/src/detector.c
@@ -2201,6 +2201,7 @@ int write_detector_geometry_2(const char *geometry_filename,
if ( n_bits != 3 ) {
if ( strstr(bits[0], "coffset" ) != NULL &&
write_panel_coffset ) {
+ lno++;
continue;
} else {
fputs(lines[lno], fh);