Skip to content
Snippets Groups Projects
Commit e6216fa0 authored by Alán Muñoz's avatar Alán Muñoz
Browse files

bugfix tiler case channel is str

parent a4213a1c
No related branches found
No related tags found
No related merge requests found
......@@ -489,6 +489,8 @@ class Tiler(ProcessABC):
def get_traps_timepoint(self, tp, tile_size=None, channels=None, z=None):
# FIXME we currently ignore the tile size
# FIXME can we ignore z(always give)
if isinstance(channels, str):
channels = [channels]
res = []
for c in channels:
val = self.get_tp_data(tp, c)[:, z] # Only return requested z
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment