Browse Source

fixed typos

zolfa-add_slices_loading
jim 10 years ago
parent
commit
7b88c9104e
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      nd2reader/__init__.py

+ 3
- 3
nd2reader/__init__.py View File

@ -28,8 +28,8 @@ class Nd2(Nd2Parser):
for i in range(self._image_count):
for fov in range(self.field_of_view_count):
for z_level in range(self.z_level_count):
for channel in self.channels:
image = self.get_image(i, fov, channel.name, z_level)
for channel_name in self.channels:
image = self.get_image(i, fov, channel_name, z_level)
if image.is_valid:
yield image
@ -168,7 +168,7 @@ class Nd2(Nd2Parser):
"""
channel_offset = {}
for n, channel in enumerate(self.channels):
self._channel_offset[channel.name] = n
channel_offset[channel] = n
return channel_offset
def _get_raw_image_data(self, image_set_number, channel_offset):


Loading…
Cancel
Save