aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/datatemplate.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-06-10 16:38:51 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:44 +0200
commit6d6cf54f7eb8597d64aa8f36d57ffd8b0103f644 (patch)
treecf6212393871a9c61e7699d940b4e573db0236d4 /libcrystfel/src/datatemplate.h
parent914c4806d427e7e33ff6fb4e7a5cdaa21c3c11a3 (diff)
Tidy up
Regarding check_path_existence: This was a very complicated procedure, for not very much gain. The attempt to open a dataset for real, which invariably follows, can still fail after this check.
Diffstat (limited to 'libcrystfel/src/datatemplate.h')
-rw-r--r--libcrystfel/src/datatemplate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/datatemplate.h b/libcrystfel/src/datatemplate.h
index a4520ba2..b1771d4f 100644
--- a/libcrystfel/src/datatemplate.h
+++ b/libcrystfel/src/datatemplate.h
@@ -76,7 +76,7 @@ extern struct detgeom *data_template_to_detgeom(const DataTemplate *dt);
extern int data_template_get_slab_extents(const DataTemplate *dt, int *pw, int *ph);
-extern int data_template_in_bad_region(DataTemplate *dtempl,
+extern int data_template_in_bad_region(const DataTemplate *dtempl,
int pn, double fs, double ss);
#ifdef __cplusplus