From 38a0def0751826332fe0d64e7041a83e681a5eee Mon Sep 17 00:00:00 2001 From: Ruben Verweij Date: Wed, 9 Oct 2019 12:32:48 +0200 Subject: [PATCH] Fixes issue 25 --- nd2reader/reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nd2reader/reader.py b/nd2reader/reader.py index cb0027f..1d4b3c4 100644 --- a/nd2reader/reader.py +++ b/nd2reader/reader.py @@ -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