aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detgeom.c
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.c
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.c')
-rw-r--r--libcrystfel/src/detgeom.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libcrystfel/src/detgeom.c b/libcrystfel/src/detgeom.c
index 1e86eb95..eaf7c898 100644
--- a/libcrystfel/src/detgeom.c
+++ b/libcrystfel/src/detgeom.c
@@ -202,9 +202,7 @@ static void detgeom_show_group(const struct detgeom_panel_group *group, int leve
return;
}
- STATUS("%s (level %i, index %i)\n", group->name,
- group->hierarchy_level,
- group->member_index);
+ STATUS("%s (serial %i)\n", group->name, group->serial);
for ( i=0; i<group->n_children; i++ ) {
detgeom_show_group(group->children[i], level+1);