From a305f4b66ae49c7a368eef89d284bd8dd156fba0 Mon Sep 17 00:00:00 2001 From: Ruben Verweij Date: Mon, 19 Jun 2017 09:21:55 +0200 Subject: [PATCH] Always set 't' axis --- nd2reader/reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nd2reader/reader.py b/nd2reader/reader.py index 6a46f11..33f1ed9 100644 --- a/nd2reader/reader.py +++ b/nd2reader/reader.py @@ -108,7 +108,7 @@ class ND2Reader(FramesSequenceND): self._init_axis_if_exists('x', self._get_metadata_property("width", default=0)) self._init_axis_if_exists('y', self._get_metadata_property("height", default=0)) self._init_axis_if_exists('c', len(self._get_metadata_property("channels", default=[])), min_size=2) - self._init_axis_if_exists('t', len(self._get_metadata_property("frames", default=[])), min_size=2) + self._init_axis_if_exists('t', len(self._get_metadata_property("frames", default=[]))) self._init_axis_if_exists('z', len(self._get_metadata_property("z_levels", default=[])), min_size=2) if len(self.sizes) == 0: