Browse Source

Fix typo in z-level check

Ruben Verweij 5 years ago
parent
commit
94e028909c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      nd2reader/raw_metadata.py

+ 1
- 1
nd2reader/raw_metadata.py View File

@ -162,7 +162,7 @@ class RawMetadata(object):
list: the z levels, just a sequence from 0 to n.
"""
z_levels = self._parse_dimension(r""".*?Z\((\d+)\).*?""")
if 0 == len(z_levels):
if 0 != len(z_levels):
z_levels = parse_if_not_none(self.z_data, self._parse_z_coordinates)
if z_levels is None:
z_levels = []


Loading…
Cancel
Save