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

bugfix tiler rewriting trap_info

parent 57b145c6
No related branches found
No related tags found
No related merge requests found
......@@ -106,10 +106,10 @@ class TrapLocations:
def to_dict(self, tp):
res = dict()
# if tp == 0:
res["trap_locations"] = self.initial_location
res["attrs/tile_size"] = self.tile_size
res["attrs/max_size"] = self.max_size
if tp == 0:
res["trap_locations"] = self.initial_location
res["attrs/tile_size"] = self.tile_size
res["attrs/max_size"] = self.max_size
res["drifts"] = np.expand_dims(self.drifts[tp], axis=0)
# res["processed_timepoints"] = tp
return res
......
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