From 334817ceaddf375edf7e092bb7ab45de232732a5 Mon Sep 17 00:00:00 2001 From: Ruben Verweij Date: Thu, 2 Mar 2017 13:46:46 +0100 Subject: [PATCH] Fix bug --- 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 5adc867..1ce26ad 100644 --- a/nd2reader/raw_metadata.py +++ b/nd2reader/raw_metadata.py @@ -196,7 +196,7 @@ class RawMetadata(object): "type": self._parse_roi_type(raw_roi_dict[six.b('m_sInfo')][six.b('m_uiInterpType')]) } for i in range(number_of_timepoints): - roi_dict = self._parse_vect_anim(roi_dict, raw_roi_dict[six.b('m_vectAnimParams_%d') % i]) + roi_dict = self._parse_vect_anim(roi_dict, raw_roi_dict[six.b('m_vectAnimParams_%d' % i)]) # convert to NumPy arrays roi_dict["timepoints"] = np.array(roi_dict["timepoints"], dtype=np.float)