Skip to content
Snippets Groups Projects
Commit 49d9e5b7 authored by Andi Gerken's avatar Andi Gerken
Browse files

bugfix when plotting files

parent 773d91cc
Branches
Tags
1 merge request!40Fixed bug in update_ids
Pipeline #52254 passed
...@@ -927,6 +927,8 @@ class File(h5py.File): ...@@ -927,6 +927,8 @@ class File(h5py.File):
this_c = cmap(fish_id) this_c = cmap(fish_id)
elif isinstance(c, list): elif isinstance(c, list):
this_c = c[fish_id] this_c = c[fish_id]
else:
this_c = c
timesteps = poses.shape[1] - 1 timesteps = poses.shape[1] - 1
for t in range(0, timesteps, step_size): for t in range(0, timesteps, step_size):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment