Skip to content

Commit

Permalink
Merge pull request #123 from mehta-lab/zarr-converter-position-bug
Browse files Browse the repository at this point in the history
Fix ome-tif to zarr converter for acquisitions with micromanager beta
  • Loading branch information
talonchandler authored Jul 8, 2022
2 parents 3019357 + 031d577 commit 32edad9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions recOrder/io/zarr_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,10 @@ def _get_position_names(self):

for p in range(self.p):
if self.p > 1:
name = self.summary_metadata['StagePositions'][p]['Label']
try:
name = self.summary_metadata['StagePositions'][p]['Label']
except KeyError:
name = ''
else:
name = ''
self.pos_names.append(name)
Expand Down Expand Up @@ -331,7 +334,6 @@ def init_zarr_structure(self):

chan_names = self._get_channel_names()
self._get_position_names()

for pos in range(self.p):

clims = self.get_channel_clims(pos)
Expand Down

0 comments on commit 32edad9

Please sign in to comment.