YosefLab / Cassiopeia

A Package for Cas9-Enabled Single Cell Lineage Tracing Tree Reconstruction
https://cassiopeia-lineage.readthedocs.io/en/latest/
MIT License
77 stars 24 forks source link

Bugfix: do not expose internals of the CassiopeiaTree #56

Closed sprillo closed 3 years ago

sprillo commented 3 years ago

E.g. return self.__cache["leaves"][:] instead of return self.__cache["leaves"]. (The latter returns a pointer to the internal cached list; if the user modifies it the cache breaks.)