Skip to content

0.5.1

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Oct 21:04
· 34 commits to master since this release
1c6d160

🐛 Bug Fixes

Use `np.any` instead of `np.sum` when finding all frames that contain a given object. @willgraf (#82)

np.sum counts all the frames the object is in, but we really only care that it exists in the given frame, not the number. np.any is about 3x faster (in my examples lineage), and should help speed up the slowest code in both is_valid_lineage and relabel_sequential_lineage.

Additionally, is_valid_lineage has some improved warning messages, and saves a single loop across the cells by iteratively removing the cells with the lineage from a set of all cells.

🧰 Maintenance

Bump the version to 0.5.1. @willgraf (#83)