Skip to content
Snippets Groups Projects
Commit e00e578d authored by pswain's avatar pswain
Browse files

change(tiler): channels can be strings

parent 9550a53e
No related branches found
No related tags found
No related merge requests found
......@@ -554,6 +554,13 @@ class Tiler(StepABC):
channels = [0]
elif isinstance(channels, str):
channels = [channels]
# convert to indices
channels = [
self.channels.index(channel)
if isinstance(channel, str)
else channel
for channel in channels
]
# get the data as a list of length of the number of channels
res = []
for c in channels:
......
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