Skip to content
Snippets Groups Projects
Commit 9b205ca1 authored by Ruben Verweij's avatar Ruben Verweij
Browse files

Issue #24: only return a Frame when bundle_axes is only y,x

parent c6a184ec
No related branches found
No related tags found
No related merge requests found
......@@ -106,6 +106,9 @@ class ND2Reader(FramesSequenceND):
# Actually get the corresponding Frame
results[index] = Frame(self._parser.get_image_by_attributes(*current_coords), metadata=self.metadata)
if len(bundle_axes) == 0:
return results[0]
return results
def _get_possible_coords(self, dim, default):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment