From 31c58972e8d5ea8d256deb4d76777add9a1ed0a6 Mon Sep 17 00:00:00 2001 From: Ziwen Liu <67518483+ziw-liu@users.noreply.github.com> Date: Fri, 1 Sep 2023 20:20:04 -0700 Subject: [PATCH] style --- iohub/multipagetiff.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/iohub/multipagetiff.py b/iohub/multipagetiff.py index e61a48c3..57d10ca7 100644 --- a/iohub/multipagetiff.py +++ b/iohub/multipagetiff.py @@ -8,10 +8,10 @@ import dask.array as da import numpy as np -from xarray import DataArray import zarr from numpy.typing import ArrayLike from tifffile import TiffFile +from xarray import DataArray from iohub.mm_fov import MicroManagerFOV, MicroManagerFOVMapping @@ -160,9 +160,7 @@ def _set_mm_meta(self) -> None: if self.mm_meta["Summary"]["Positions"] > 1: self._stage_positions = [] - for p in range( - len(self.mm_meta["Summary"]["StagePositions"]) - ): + for p in range(len(self.mm_meta["Summary"]["StagePositions"])): pos = self._simplify_stage_position_beta( self.mm_meta["Summary"]["StagePositions"][p] ) @@ -269,9 +267,7 @@ def _infer_image_meta(self) -> None: return else: continue - logging.warning( - "Micro-Manager image plane metadata cannot be loaded." - ) + logging.warning("Micro-Manager image plane metadata cannot be loaded.") self._xy_pixel_size = None @property