From 2bd3e875e34ad23cd8b7d3866bf01433546a6f2a Mon Sep 17 00:00:00 2001 From: "Dorofeeva Elizaveta (EXT)" Date: Thu, 10 Jul 2025 10:26:38 +0200 Subject: [PATCH] Bug fix in streaks coordintaes shift --- dap/algos/streakfind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dap/algos/streakfind.py b/dap/algos/streakfind.py index 200b568..05ed131 100644 --- a/dap/algos/streakfind.py +++ b/dap/algos/streakfind.py @@ -160,7 +160,7 @@ def _calc_streakfinder_analysis(results, cryst_data: CrystData): # Adjust to crop region if crop_roi is not None: - shift = [crop_roi[2], crop_roi[0], crop_roi[0], crop_roi[2]] + shift = [crop_roi[0], crop_roi[2], crop_roi[0], crop_roi[2]] streak_lines = streak_lines + shift if x_center is not None and y_center is not None: