Browse Source

Fixes issue 25

feature/load_slices
Ruben Verweij 5 years ago
parent
commit
afa38ea0e7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      nd2reader/reader.py

+ 1
- 1
nd2reader/reader.py View File

@ -55,7 +55,7 @@ class ND2Reader(FramesSequenceND):
def get_frame_2D(self, c=0, t=0, z=0, x=0, y=0, v=0):
"""Fallback function for backwards compatibility
"""
return get_frame_vczyx(v=v, c=c, t=t, z=z, x=x, y=y)
return self.get_frame_vczyx(v=v, c=c, t=t, z=z, x=x, y=y)
def get_frame_vczyx(self, v=None, c=None, t=None, z=None, x=None, y=None):
x = self.metadata["width"] if x <= 0 else x


Loading…
Cancel
Save