From de1c2aff58db9370b79e6c018936bace5714014d Mon Sep 17 00:00:00 2001 From: Ruben Verweij Date: Thu, 19 Sep 2019 09:40:17 +0200 Subject: [PATCH] Fixes issue #16 --- nd2reader/raw_metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nd2reader/raw_metadata.py b/nd2reader/raw_metadata.py index 66f3fb3..9adf88b 100644 --- a/nd2reader/raw_metadata.py +++ b/nd2reader/raw_metadata.py @@ -193,7 +193,7 @@ class RawMetadata(object): if not match: return [] count = int(match.group(1)) - return list(range(count)) + return range(count) def _parse_total_images_per_channel(self): """The total number of images per channel.