Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix type hinting error in ENVI.py #58

Merged
merged 1 commit into from
May 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions scenvi/ENVI.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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(
Expand Down
Loading