aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-06-16 16:21:35 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:44 +0200
commit43dca1cd95610a2c736e53160ecdbfb04f7a2c1e (patch)
tree9875e104fd115416c722ec14a91e5cc73fc089dc
parentd3b90e0194172285b31491fcd7082c2b4d82d788 (diff)
Remove peak_info_location
peak_list already exists
-rw-r--r--libcrystfel/src/datatemplate.c2
-rw-r--r--libcrystfel/src/datatemplate_priv.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/libcrystfel/src/datatemplate.c b/libcrystfel/src/datatemplate.c
index 54d29807..a34ec6f5 100644
--- a/libcrystfel/src/datatemplate.c
+++ b/libcrystfel/src/datatemplate.c
@@ -732,7 +732,7 @@ DataTemplate *data_template_new_from_string(const char *string_in)
dt->rigid_group_collections = NULL;
dt->photon_energy_bandwidth = -1.0;
dt->photon_energy_scale = -1.0;
- dt->peak_info_location = NULL;
+ dt->peak_list = NULL;
/* The default defaults... */
dt->defaults.orig_min_fs = -1;
diff --git a/libcrystfel/src/datatemplate_priv.h b/libcrystfel/src/datatemplate_priv.h
index 64d060b1..75e9adfe 100644
--- a/libcrystfel/src/datatemplate_priv.h
+++ b/libcrystfel/src/datatemplate_priv.h
@@ -168,8 +168,6 @@ struct _datatemplate
double photon_energy_bandwidth; /* Eww */
double photon_energy_scale; /* Eww */
- char *peak_info_location;
-
unsigned int mask_bad;
unsigned int mask_good;