JinmiaoChenLab/SpatialGlue

Error when importing SpatialGlue

fotisn7 opened this issue · 1 comments

Hello,

Thank you for this great tool! Unfortunately, I have some issue when I try importing SpatialGlue:


ModuleNotFoundError Traceback (most recent call last)
Cell In[2], line 1
----> 1 import SpatialGlue

File ~/Documents/SpatialGlue/SpatialGlue/init.py:11
8 author = "Yahui Long"
9 email = "long_yahui@immunol.a-star.edu.sg"
---> 11 from .model import Encoder_overall
12 from .preprocess import adjacent_matrix_preprocessing, fix_seed, clr_normalize_each_cell, lsi, construct_neighbor_graph, pca
13 from .utils import clustering, plot_weight_value

ModuleNotFoundError: No module named 'SpatialGlue.model'

I've updated to the latest version.

I don't get the same error when I import SpatialGlue_3M.

Thank you!

Hi,

Thank you for your attention on our work.

 Could you share which tutorial you are using pls? It would be better if you could help provide more code lines.

  Best regards,
  Yahui