aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/datatemplate.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/datatemplate.c')
-rw-r--r--libcrystfel/src/datatemplate.c6
1 files changed, 3 insertions, 3 deletions
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 ) {