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
When I initialize the WOTKernel via wk = WOTKernel(adata, time_key='day'), it complains that no KNN graph was found:
---------------------------------------------------------------------------KeyErrorTraceback (mostrecentcalllast)
~/Projects/cellrank/cellrank/ul/_utils.pyin_get_neighs(adata, mode, key)
198try:
-->199res=_read_graph_data(adata, key)
200assertisinstance(res, (np.ndarray, spmatrix))
~/Projects/cellrank/cellrank/ul/_utils.pyin_read_graph_data(adata, key)
236-->237raiseKeyError(f"Unable to find key `{key!r}` in `adata.obsp`.")
238KeyError: "Unable to find key `'connectivities'` in `adata.obsp`."
which is expected, because there is no KNN graph in this AnnData object. However, I don't think WOT needs one to compute the transition maps, so we should probably remove this requirement.
When I initialize the WOTKernel via
wk = WOTKernel(adata, time_key='day')
, it complains that no KNN graph was found:which is expected, because there is no KNN graph in this AnnData object. However, I don't think WOT needs one to compute the transition maps, so we should probably remove this requirement.
Versions:
The text was updated successfully, but these errors were encountered: