From e5d8b871ff64bf74366729eedd3084d40ddb03ca Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 7 Jul 2020 11:02:01 +0200 Subject: Get rid of photon_energy_scale --- libcrystfel/src/datatemplate.c | 4 ---- libcrystfel/src/datatemplate_priv.h | 1 - 2 files changed, 5 deletions(-) diff --git a/libcrystfel/src/datatemplate.c b/libcrystfel/src/datatemplate.c index ecd12439..73227f38 100644 --- a/libcrystfel/src/datatemplate.c +++ b/libcrystfel/src/datatemplate.c @@ -674,9 +674,6 @@ static void parse_toplevel(DataTemplate *dt, ERROR("Invalid value for photon_energy_bandwidth\n"); } - } else if ( strcmp(key, "photon_energy_scale") == 0 ) { - dt->photon_energy_scale = atof(val); - } else if (strncmp(key, "rigid_group", 11) == 0 && strncmp(key, "rigid_group_collection", 22) != 0 ) { @@ -761,7 +758,6 @@ DataTemplate *data_template_new_from_string(const char *string_in) dt->n_rg_collections = 0; dt->rigid_group_collections = NULL; dt->photon_energy_bandwidth = -1.0; - dt->photon_energy_scale = -1.0; dt->peak_list = NULL; /* The default defaults... */ diff --git a/libcrystfel/src/datatemplate_priv.h b/libcrystfel/src/datatemplate_priv.h index ed033d82..e94daf4f 100644 --- a/libcrystfel/src/datatemplate_priv.h +++ b/libcrystfel/src/datatemplate_priv.h @@ -178,7 +178,6 @@ struct _datatemplate char *wavelength_from; double photon_energy_bandwidth; /* Eww */ - double photon_energy_scale; /* Eww */ unsigned int mask_bad; unsigned int mask_good; -- cgit v1.2.3