Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
ieivanov committed Apr 3, 2024
1 parent 625d6f6 commit c39f13c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions iohub/mmstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
import dask.array as da
import numpy as np
import zarr
from natsort import natsorted
from numpy.typing import ArrayLike
from tifffile import TiffFile
from xarray import DataArray
from natsort import natsorted

from iohub.mm_fov import MicroManagerFOV, MicroManagerFOVMapping

Expand Down Expand Up @@ -127,7 +127,8 @@ def _parse_data(self):
self._store = series.aszarr()
_logger.debug(f"Opened {self._store}.")
data = da.from_zarr(zarr.open(self._store))
data = data[:self.positions] # not all positions may have been acquired
# not all positions in the position list may have been acquired
data = data[: self.positions]
self.dtype = data.dtype
img = DataArray(data, dims=raw_dims, name=self.dirname)
xarr = img.expand_dims(
Expand Down

0 comments on commit c39f13c

Please sign in to comment.