Skip to content

Commit

Permalink
Remove using axes from tifffile axes attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
tddough98 committed Dec 22, 2020
1 parent 66fa549 commit 729e03a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions browser/loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,6 @@ def _load_tiff(self):
"""
tiff = tifffile.TiffFile(self._data)
img = tiff.asarray()
# TODO: check these axes are accurate
self.axes = tiff.series[0].axes
if img.ndim != len(self.axes):
raise ValueError(f'image dimensions {img.shape} do not match axes {self.axes}')
# Adjust Z dimension (TODO: may also be T, but Z & T not supported together)
Expand Down

0 comments on commit 729e03a

Please sign in to comment.