aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-07-07 11:02:01 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:45 +0200
commite5d8b871ff64bf74366729eedd3084d40ddb03ca (patch)
treed9a2485dee1e81e352e5d6f54340d695e39cdf0c /libcrystfel
parent93fad2ee241592cdaf252fae5ad4e986feecc274 (diff)
Get rid of photon_energy_scale
Diffstat (limited to 'libcrystfel')
-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;