From 0a9f19f83f8dd408266ead176a96f5b6dfe5a686 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 15 May 2023 17:14:41 +0200 Subject: adjust_detector: Load geometry and show hierarchy --- src/adjust_detector.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/adjust_detector.c b/src/adjust_detector.c index 2e815677..37fa5008 100644 --- a/src/adjust_detector.c +++ b/src/adjust_detector.c @@ -89,6 +89,7 @@ static double parse_double(const char *str, char complain) int main(int argc, char *argv[]) { int c; + DataTemplate *dtempl; char *in_geom = NULL; char *out_geom = NULL; double x_shift = 0.0; @@ -192,5 +193,10 @@ int main(int argc, char *argv[]) return 1; } + dtempl = data_template_new_from_file(in_geom); + if ( dtempl == NULL ) return 1; + + data_template_show_hierarchy(dtempl); + return 0; } -- cgit v1.2.3