From 84c7b6a7c9f1423f0acc658fb62f0cf9aaebc60d Mon Sep 17 00:00:00 2001 From: Laurent Guerard Date: Wed, 20 Sep 2023 17:21:08 +0200 Subject: [PATCH] Fix input if filtering by max displacement --- src/imcflibs/imagej/bdv.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/imcflibs/imagej/bdv.py b/src/imcflibs/imagej/bdv.py index f9fb4db..e5cbe49 100644 --- a/src/imcflibs/imagej/bdv.py +++ b/src/imcflibs/imagej/bdv.py @@ -499,8 +499,9 @@ def run_filter_pairwise_shifts( + "max_shift_in_z=" + str(max_shift_z) + " " - + "max_displacement=" - + str(max_displacement) + + "filter_by_total_shift_magnitude " + if max_displacement + else "" + "max_displacement=" + str(max_displacement) ) log.debug(options)