Skip to content

Commit

Permalink
chore: fix the circular import issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chansigit committed Jul 3, 2024
1 parent 97ed400 commit 674f013
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dynamo/preprocessing/cell_cycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import pandas as pd
from scipy.sparse import issparse

from ..tools.utils import einsum_correlation, log1p_
from ..tools.utils import log1p_
from ..utils import LoggerManager, copy_adata


Expand All @@ -30,7 +30,7 @@ def group_corr(adata: anndata.AnnData, layer: Union[str, None], gene_list: list)
between input gene_list and the adata.var_names. corr contains the correlation coefficient of each gene with
the mean expression of all genes in the list.
"""

from ..tools.utils import einsum_correlation
# returns list of correlations of each gene within a list of genes with the total expression of the group
tmp = adata.var_names.intersection(gene_list)
# get the location of gene names
Expand Down

0 comments on commit 674f013

Please sign in to comment.