Skip to content

Commit 27a6e19

Browse files
authored
Merge pull request #51 from serjisa/patch-1
Update graph_fitting.py
2 parents 408e7b5 + ddd84d4 commit 27a6e19

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scFates/tools/graph_fitting.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ def tree(
321321
**kwargs,
322322
)
323323
adata.uns["graph"] = graph
324+
adata.uns["epg"] = EPG
324325
adata.obsm["X_R"] = R
325326

326327
if plot:
@@ -562,6 +563,7 @@ def curve_epg(
562563
EPG["Edges"] = list(EPG["Edges"])
563564

564565
adata.uns["graph"] = graph
566+
adata.uns["epg"] = EPG
565567
adata.obsm["X_R"] = R
566568

567569
logg.info(" finished", time=True, end=" " if settings.verbosity > 2 else "\n")
@@ -623,6 +625,7 @@ def circle_epg(
623625
EPG["Edges"] = list(EPG["Edges"])[0]
624626

625627
adata.uns["graph"] = graph
628+
adata.uns["epg"] = EPG
626629
adata.obsm["X_R"] = R
627630

628631
logg.info(" finished", time=True, end=" " if settings.verbosity > 2 else "\n")

0 commit comments

Comments
 (0)