From f5b949e588ffeaf178a12cef86fc1e52e8792a4a Mon Sep 17 00:00:00 2001 From: Valerio Mariani <valerio.mariani@desy.de> Date: Fri, 16 Nov 2018 16:15:47 +0100 Subject: [PATCH] Fixed another bug in the load_crystfel_geometry function --- cfelpyutils/crystfel_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfelpyutils/crystfel_utils.py b/cfelpyutils/crystfel_utils.py index 6e4ebc3..cf2b475 100644 --- a/cfelpyutils/crystfel_utils.py +++ b/cfelpyutils/crystfel_utils.py @@ -627,7 +627,7 @@ def load_crystfel_geometry(filename): panel_name ) ) - if found_placeholder != 1: + if found_placeholder > 1: raise RuntimeError( "Only one placeholder dim coordinate is allowed." "Maximum one placeholder dim coordinate is " -- GitLab