aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/detector.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c
index 4c7295fe..e8a6a80c 100644
--- a/libcrystfel/src/detector.c
+++ b/libcrystfel/src/detector.c
@@ -1921,7 +1921,8 @@ static void process_panel_fields(const struct panel *p, char *line,
if(strstr(bits[1], "fs") != NULL &&
strstr(bits[1], "min_fs") == NULL &&
- strstr(bits[1], "max_fs") == NULL) {
+ strstr(bits[1], "max_fs") == NULL &&
+ strstr(bits[1], "offset") == NULL ) {
sprintf(string_to_write, "%+fx %+fy",
p->fsx, p->fsy);