JinmiaoChenLab / SpatialGlue

SpatialGlue is a novel deep learning methods for spatial multi-omics data integration.
GNU Affero General Public License v3.0
28 stars 5 forks source link

Error when importing SpatialGlue #6

Open fotisn7 opened 2 months ago

fotisn7 commented 2 months ago

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!

longyahui commented 2 months ago

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