From 48ffeb0fef4e2ecdb39add1635cd1788b3d1000d Mon Sep 17 00:00:00 2001
From: Valerio Mariani <valerio.mariani@desy.de>
Date: Thu, 16 Nov 2017 15:12:37 +0100
Subject: [PATCH] Labelled the version of load_crystfel_geometry fraction

---
 cfel_crystfel.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/cfel_crystfel.py b/cfel_crystfel.py
index 9df4d45..7c4a07e 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
+
+
-- 
GitLab