aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/datatemplate.c4
-rw-r--r--libcrystfel/src/datatemplate_priv.h1
2 files changed, 0 insertions, 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;