aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detgeom.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2023-07-13 17:18:54 +0200
committerThomas White <taw@physics.org>2023-07-28 13:22:05 +0200
commitb1089d5a0b75fb1dc66a6d8384d5e3ff1d0d7d78 (patch)
tree2233e60d39abd2d0dc80654b3dc4f38ce6472107 /libcrystfel/src/detgeom.h
parent2501aedda111feaf139f9d8e94c4ab36926e93e3 (diff)
Re-define geometry group labelling scheme
The old version was totally broken. The serial numbers have to contain the complete hierarchy information, otherwise they aren't unique.
Diffstat (limited to 'libcrystfel/src/detgeom.h')
-rw-r--r--libcrystfel/src/detgeom.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcrystfel/src/detgeom.h b/libcrystfel/src/detgeom.h
index 5a1a758e..53877b2e 100644
--- a/libcrystfel/src/detgeom.h
+++ b/libcrystfel/src/detgeom.h
@@ -96,8 +96,7 @@ struct detgeom_panel_group
int n_children;
struct detgeom_panel_group *parent;
- int hierarchy_level;
- int member_index;
+ int serial;
/* Center of panel group, in lab coordinate system (metres)
* This will be the rotation center. */