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

rename find_channels method to _find_channels

parent 7ad6a523
No related branches found
No related tags found
No related merge requests found
...@@ -127,7 +127,7 @@ class remoteImageViewer: ...@@ -127,7 +127,7 @@ class remoteImageViewer:
self.tiler.image = image.data self.tiler.image = image.data
return self.tiler.get_tc(tp, channel) return self.tiler.get_tc(tp, channel)
def find_channels(self, channels): def _find_channels(self, channels):
channels = channels or self.tiler.ref_channel channels = channels or self.tiler.ref_channel
if isinstance(channels, int): if isinstance(channels, int):
channels = [channels] channels = [channels]
...@@ -140,7 +140,7 @@ class remoteImageViewer: ...@@ -140,7 +140,7 @@ class remoteImageViewer:
self, trap_id, tps, channels=None, z=None, server_info=None self, trap_id, tps, channels=None, z=None, server_info=None
): ):
server_info = server_info or self.server_info server_info = server_info or self.server_info
channels = self.find_channels(channels) channels = self._find_channels(channels)
z = z or self.tiler.ref_z z = z or self.tiler.ref_z
ch_tps = set([(channels[0], tp) for tp in tps]) ch_tps = set([(channels[0], tp) for tp in tps])
......
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