You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Recomputing neighbors leaves a stale mapping matrix #91
compute_neighbors and load_precomputed_distances replace self.knn but don't reset self._mapping_operator. map() only rebuilds the operator when it is None, so this silently uses weights from the old graph:
cm.map(obs_keys="celltype")
cm.compute_neighbors(n_neighbors=50) # new graphcm.map(obs_keys="celltype") # still uses the old mapping matrix
Activity