diff --git a/cfel_crystfel.py b/cfel_crystfel.py index 9df4d454bb7f46f458b84e55bdde8c879580d4da..7c4a07e1bfb42d30a1c0567efe15fc7f48e089fd 100644 --- a/cfel_crystfel.py +++ b/cfel_crystfel.py @@ -23,7 +23,7 @@ from __future__ import (absolute_import, division, print_function, import re from collections import OrderedDict -from copy import deepcopy +from copy import deepcopy from math import sqrt @@ -602,4 +602,9 @@ def load_crystfel_geometry(filename): _find_min_max_d(detector) fh.close() + # The code of this function is synced with the code of the function + # 'get_detector_geometry_2' in CrystFEL at commit 41a8fa9819010fe8ddeb66676fee717f5226c7b8 + return detector + +