Commit 8207112f authored by Julia Garriga Ferrer's avatar Julia Garriga Ferrer
Browse files

[core][dataset] Fix typo

parent db209a84
......@@ -721,8 +721,8 @@ class Dataset():
return
new_data = Data(urls, self.running_data.metadata, self._in_memory)
if self.transformation:
transformation = [apply_2D_ROI(axis, origin, size, center) for axis in self.transformation]
transformation = ([apply_2D_ROI(axis, origin, size, center) for axis in self.transformation]
if self.transformation else None)
if indices is None:
shape = list(self.data.shape)[:-2]
shape.append(new_data.shape[-2])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment