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

implement Tiler.run method

parent ba57047f
No related branches found
No related tags found
No related merge requests found
......@@ -227,7 +227,7 @@ class Tiler(ProcessABC):
@lru_cache(maxsize=2)
def get_tc(self, t, c):
full = self.image[t, c].compute(scheduler='synchronous')
full = self.image[t, c].compute(scheduler="synchronous")
return full
......@@ -358,11 +358,16 @@ class Tiler(ProcessABC):
# return result for writer
return self.trap_locs.to_dict(tp)
def run(self):
def run(self, time_dim=None):
"""
Tile all time points in an experiment at once.
"""
raise NotImplementedError()
if time_dim is None:
time_dim = 0
for t in range(self.image.shape[time_dim]):
self.run_tp(t)
return None
###
......
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