From 352cb1c9ed28a0b93d83f921a2db65d3f7c6f095 Mon Sep 17 00:00:00 2001
From: schlda00 <kai.schleicher@unibas.ch>
Date: Tue, 15 Apr 2025 16:41:11 +0200
Subject: [PATCH] Add missing spot diameter parameter to function

---
 2d_spots_in_fibers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/2d_spots_in_fibers.py b/2d_spots_in_fibers.py
index 0c42fbf..2bbd1e5 100644
--- a/2d_spots_in_fibers.py
+++ b/2d_spots_in_fibers.py
@@ -494,7 +494,7 @@ for index, channel in enumerate(processing_channels):
     channel = int(channel)
     quality_threshold = float(quality_thresholds[index])
     spots_channel = BFopen_image(path_to_image, channel, series_number)
-    spots_label_imp = run_trackmate_dog_spot_detector(spots_channel, quality_threshold)
+    spots_label_imp = run_trackmate_dog_spot_detector(spots_channel, spot_diameter, quality_threshold)
     save_image_as_IJtif(spots_label_imp, filename, "spots_ch" + str(channel), parent_dir)
     save_labelimage_as_ijroiset(spots_label_imp, filename, "spots_ch" + str(channel), parent_dir)
     spots_binary_imp = convert_labelimage_to_binary(spots_label_imp)
-- 
GitLab