From 50a6de765bd83f5a40a4d2a6b7d95126366ed076 Mon Sep 17 00:00:00 2001 From: Jim Rybarski Date: Sun, 17 May 2015 05:01:52 +0000 Subject: [PATCH] removed test lines --- nd2reader/__init__.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/nd2reader/__init__.py b/nd2reader/__init__.py index c99a1b6..8191c6e 100644 --- a/nd2reader/__init__.py +++ b/nd2reader/__init__.py @@ -175,9 +175,4 @@ class Nd2(Nd2Parser): return timestamp, image_data[image_data_start::self.channel_count] def _calculate_image_set_number(self, time_index, fov, z_level): - return time_index * self.field_of_view_count * self.z_level_count + (fov * self.z_level_count + z_level) - - - -for image_set in Nd2("FYLM-141111-001.nd2").image_sets: - print(image_set.get("", 1).data) + return time_index * self.field_of_view_count * self.z_level_count + (fov * self.z_level_count + z_level) \ No newline at end of file