aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2023-05-22 16:13:41 +0200
committerThomas White <taw@physics.org>2023-07-28 13:22:05 +0200
commitffd84dc933a43588340058d022869b761799bd66 (patch)
tree73dc65745380af231f0fc5e49e5aa4629e440f6b
parent85b993a010ef198f24d99e88151470ccf8c8212f (diff)
Rename top-level panel group to 'all'
Rationale: 'top' sounds kind of geometrical
-rw-r--r--libcrystfel/src/datatemplate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/datatemplate.c b/libcrystfel/src/datatemplate.c
index 5e3dba49..b4a3cedf 100644
--- a/libcrystfel/src/datatemplate.c
+++ b/libcrystfel/src/datatemplate.c
@@ -995,7 +995,7 @@ static void show_group(const struct panel_group_template *gt, int level)
void data_template_show_hierarchy(const DataTemplate *dtempl)
{
STATUS("Hierarchy:\n");
- show_group(find_group(dtempl, "top"), 0);
+ show_group(find_group(dtempl, "all"), 0);
}
@@ -1976,7 +1976,7 @@ struct detgeom *create_detgeom(struct image *image,
}
- detgeom->top_group = walk_group(dtempl, find_group(dtempl, "top"), detgeom);
+ detgeom->top_group = walk_group(dtempl, find_group(dtempl, "all"), detgeom);
return detgeom;
}