From b3ef09e86b61c2446c6c68ad58b93218e3653a7e Mon Sep 17 00:00:00 2001 From: DoronHav Date: Tue, 7 May 2024 14:43:43 -0400 Subject: [PATCH] Fix type hinting error in ENVI.py --- scenvi/ENVI.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scenvi/ENVI.py b/scenvi/ENVI.py index 7d551f3..9daa8be 100644 --- a/scenvi/ENVI.py +++ b/scenvi/ENVI.py @@ -7,7 +7,7 @@ import pandas as pd import scanpy as sc import sklearn.neighbors -import tensorflow_probability.substrates.jax as jax_prob +import tensorflow_probability.substrates.jax as jax_prob # type: ignore from flax import linen as nn from jax import jit, random from tqdm import trange @@ -648,11 +648,7 @@ def infer_niche_covet(self): """ Predict COVET representation for single-cell data -<<<<<<< HEAD :return: nothing adds 'COVET_SQRT' and 'COVET' to self.sc_data.obsm -======= - :return: nothing, adds 'COVET_SQRT' and 'COVET' to self.spatial_data.obsm ->>>>>>> main """ self.sc_data.obsm["COVET_SQRT"] = self.decode_cov(