Skip to content

Commit

Permalink
Merge pull request #404 from quantumjot/fix-linting-error
Browse files Browse the repository at this point in the history
Fix linting error following #398 merge
  • Loading branch information
quantumjot authored Mar 5, 2024
2 parents a933a34 + fcdd8c1 commit 5720808
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions btrack/io/_localization.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
)
Expand Down

0 comments on commit 5720808

Please sign in to comment.