From fcdd8c115ebe85e5c64390ba39d3f3d7926887a3 Mon Sep 17 00:00:00 2001 From: quantumjot Date: Tue, 5 Mar 2024 09:51:01 +0000 Subject: [PATCH] run black --- btrack/io/_localization.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/btrack/io/_localization.py b/btrack/io/_localization.py index cb2da3da..19db0e99 100644 --- a/btrack/io/_localization.py +++ b/btrack/io/_localization.py @@ -238,10 +238,7 @@ def segmentation_to_objects( # noqa: PLR0913 logger.info("Localizing objects from segmentation...") # Check if intensity image has more dimensions than segmentation - if ( - intensity_image is not None - and intensity_image.ndim > segmentation.ndim - ): + if intensity_image is not None and intensity_image.ndim > segmentation.ndim: logger.warning( "Multichannel intensity image detected, using unweighted centroid." )