From 4bbec7864eaa1a3752717f69202d1a622aff5217 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 20 Mar 2020 16:20:02 +0100 Subject: hdf5_peak_location -> peak_list --- libcrystfel/src/datatemplate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libcrystfel/src/datatemplate.c') diff --git a/libcrystfel/src/datatemplate.c b/libcrystfel/src/datatemplate.c index bff8eccf..282e61a6 100644 --- a/libcrystfel/src/datatemplate.c +++ b/libcrystfel/src/datatemplate.c @@ -642,6 +642,9 @@ static void parse_toplevel(DataTemplate *dt, /* Will be expanded when image is loaded */ dt->wavelength_from = strdup(val); + } else if ( strcmp(key, "peak_list") == 0 ) { + dt->peak_list = strdup(val); + } else if ( strcmp(key, "photon_energy_bandwidth") == 0 ) { double v; char *end; @@ -655,9 +658,6 @@ static void parse_toplevel(DataTemplate *dt, } else if ( strcmp(key, "photon_energy_scale") == 0 ) { dt->photon_energy_scale = atof(val); - } else if ( strcmp(key, "peak_info_location") == 0 ) { - dt->hdf5_peak_path = strdup(val); - } else if (strncmp(key, "rigid_group", 11) == 0 && strncmp(key, "rigid_group_collection", 22) != 0 ) { -- cgit v1.2.3