Open
Description
When I launch the 3D tracking example in Binder, running the 2nd cell (the one that loads the image stack) raises
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-2-5046be688d14> in <module>()
----> 1 frames = pims.ImageSequenceND(r'../sample_data/pmma_colloids.zip', axes_identifiers = ['z', 't'])
2 frames.bundle_axes = ['z', 'y', 'x']
3 frames.iter_axes = 't'
4 frames
/home/main/anaconda/envs/binder/lib/python3.4/site-packages/pims/image_sequence.py in __init__(self, path_spec, process_func, dtype, as_grey, plugin, axes_identifiers)
297 self.axes_identifiers = axes_identifiers
298 super(ImageSequenceND, self).__init__(path_spec, process_func,
--> 299 dtype, as_grey, plugin)
300 shape = self._first_frame_shape
301 if len(shape) == 2:
/home/main/anaconda/envs/binder/lib/python3.4/site-packages/pims/image_sequence.py in __init__(self, path_spec, process_func, dtype, as_grey, plugin)
93 self._get_files(path_spec)
94
---> 95 tmp = self.imread(self._filepaths[0], **self.kwargs)
96 self._first_frame_shape = tmp.shape
97
/home/main/anaconda/envs/binder/lib/python3.4/site-packages/pims/image_sequence.py in imread(self, filename, **kwargs)
118 "scipy, matplotlib or scikit-image.")
119 if self._is_zipfile:
--> 120 file_handle = StringIO(self._zipfile.read(filename))
121 return imread(file_handle, **kwargs)
122 else:
TypeError: initial_value must be str or None, not bytes
Metadata
Assignees
Labels
No labels
Activity