Skip to content

Commit

Permalink
Fix reading from adata
Browse files Browse the repository at this point in the history
  • Loading branch information
michalk8 committed Sep 15, 2024
1 parent d6990a7 commit 2b8f89c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cellrank/estimators/terminal_states/_gpcca.py
Original file line number Diff line number Diff line change
Expand Up @@ -1412,7 +1412,7 @@ def _read_from_adata(self, adata: AnnData, **kwargs: Any) -> bool:
self._coarse_init_dist = tmat.obs["coarse_init_dist"]
self._coarse_stat_dist = tmat.obs.get("coarse_stat_dist", None)

self._set(obj=self._shadow_adata.uns, key=Key.uns.coarse(self.backward), value=tmat)
self._set(obj=self._shadow_adata.uns, key=Key.uns.coarse(self.backward), value=tmat, copy=False)

if not sg.ok:
return False
Expand Down

0 comments on commit 2b8f89c

Please sign in to comment.