aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/hdf5-file.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-05-24 15:26:04 +0200
committerThomas White <taw@physics.org>2013-05-27 17:33:15 +0200
commitc2f556d32166abfaf6d34f4d96ee650cf6101487 (patch)
tree129db244c9c3822a2701d8f0b0078557cd20794b /libcrystfel/src/hdf5-file.c
parent8842c66fe41d7c62299b0b0c355cff5b49c672cd (diff)
Do the actual profile fitting
Diffstat (limited to 'libcrystfel/src/hdf5-file.c')
-rw-r--r--libcrystfel/src/hdf5-file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/hdf5-file.c b/libcrystfel/src/hdf5-file.c
index 3c4066be..12b6dab2 100644
--- a/libcrystfel/src/hdf5-file.c
+++ b/libcrystfel/src/hdf5-file.c
@@ -538,6 +538,8 @@ static int unpack_panels(struct image *image, struct detector *det)
image->dp[pi][fs+p->w*ss] = image->data[idx];
+ if ( p->no_index ) bad = 1;
+
if ( in_bad_region(det, cfs, css) ) {
bad = 1;
}