Skip to content

Commit 1bf0263

Browse files
committed
Add submodule scoring
1 parent c3f1a68 commit 1bf0263

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scself/_modules/score_modules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def score_all_submodules(
155155
x for x in adata.var[
156156
[module_column, submodule_column]
157157
].value_counts().sort_index().index.values
158-
if (x[0] not in [-1, '-1']) and (x[0] in adata.uns[module_column])
158+
if (x[0] not in [-1, '-1']) and (x[0] in adata.uns[module_column + "_score"])
159159
],
160160
dtype=[('module', int), ('submodule', int)]
161161
)

0 commit comments

Comments
 (0)