File tree Expand file tree Collapse file tree
src/rapids_singlecell/tools Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99``` {rubric} Bug fixes
1010```
11+ * ` key_added ` will now be used as the key for ` .uns ` for ` tl.leiden ` and ` tl.louvain ` {pr}` 378 ` {smaller}` S Dicks `
12+
1113
1214``` {rubric} Misc
1315```
Original file line number Diff line number Diff line change 33# Release notes
44
55## Version 0.12.0
6+ ``` {include} /release-notes/0.12.7.md
7+ ```
68``` {include} /release-notes/0.12.6.md
79```
810``` {include} /release-notes/0.12.5.md
Original file line number Diff line number Diff line change @@ -181,8 +181,8 @@ def leiden(
181181 categories = natsorted (map (str , np .unique (groups ))),
182182 )
183183 # store information on the clustering parameters
184- adata .uns ["leiden" ] = {}
185- adata .uns ["leiden" ]["params" ] = {
184+ adata .uns [key_added ] = {}
185+ adata .uns [key_added ]["params" ] = {
186186 "resolution" : resolution ,
187187 "random_state" : random_state ,
188188 "n_iterations" : n_iterations ,
@@ -319,8 +319,8 @@ def louvain(
319319 values = groups .astype ("U" ),
320320 categories = natsorted (map (str , np .unique (groups ))),
321321 )
322- adata .uns ["louvain" ] = {}
323- adata .uns ["louvain" ]["params" ] = {
322+ adata .uns [key_added ] = {}
323+ adata .uns [key_added ]["params" ] = {
324324 "resolution" : resolution ,
325325 "n_iterations" : n_iterations ,
326326 "threshold" : threshold ,
You can’t perform that action at this time.
0 commit comments