aboutsummaryrefslogtreecommitdiff
path: root/src/detector.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-11-12 17:07:38 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:05 +0100
commit49004f0cc3a573e8a866e0e999c138732683b99f (patch)
treeb0947fcb44b07f3bd5c181c899b4fae0b9cec8df /src/detector.c
parente0b3bc1c52fcb530fa16dc979d75699a5304cea7 (diff)
Don't cull peaks if badrow direction is not specified
Diffstat (limited to 'src/detector.c')
-rw-r--r--src/detector.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/detector.c b/src/detector.c
index d8d385c9..fa3208a6 100644
--- a/src/detector.c
+++ b/src/detector.c
@@ -395,11 +395,7 @@ struct detector *get_detector_geometry(const char *filename)
}
STATUS("Panel %i, badrow direction = %c\n", i,
det->panels[i].badrow);
- if ( det->panels[i].badrow == '0' ) {
- ERROR("Please specify the bad row direction for"
- " panel %i\n", i);
- reject = 1;
- }
+ /* It's OK if the badrow direction is '0' */
/* It's not a problem if "no_index" is still zero */
if ( det->panels[i].max_x > max_x ) {