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 the scimilarity_gred error. #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion build/lib/cellm/data/data_scimilarity.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import torch
from lightning import LightningDataModule
from scimilarity_gred.tiledb_sample_data_models import SampleCellsDataModule_disease, scDataset_disease
from scimilarity.tiledb_sample_data_models import SampleCellsDataModule_disease, scDataset_disease
from torch.utils.data import Dataset, DataLoader

# from cellm.data.data_structures import CellSample
Expand Down
2 changes: 1 addition & 1 deletion build/lib/pascient/data/data_scimilarity.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import torch
from lightning import LightningDataModule
from scimilarity_gred.tiledb_sample_data_models import SampleCellsDataModule_disease, scDataset_disease
from scimilarity.tiledb_sample_data_models import SampleCellsDataModule_disease, scDataset_disease
from torch.utils.data import Dataset, DataLoader

# from cellm.data.data_structures import CellSample
Expand Down
2 changes: 1 addition & 1 deletion cellm/data/data_scimilarity.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import torch
from lightning import LightningDataModule
from scimilarity_gred.tiledb_sample_data_models import SampleCellsDataModule_disease, scDataset_disease
from scimilarity.tiledb_sample_data_models import SampleCellsDataModule_disease, scDataset_disease
from torch.utils.data import Dataset, DataLoader

# from cellm.data.data_structures import CellSample
Expand Down
2 changes: 1 addition & 1 deletion cellm/data/data_scimilarity_gred.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from imblearn.over_sampling import RandomOverSampler ,SVMSMOTE
from imblearn.under_sampling import RandomUnderSampler

from scimilarity_gred.tiledb_sample_data_models import query_tiledb_df, import_cell_ontology, get_id_mapper, scDataset
from scimilarity.tiledb_sample_data_models import query_tiledb_df, import_cell_ontology, get_id_mapper, scDataset


# Turn off multithreading to allow multiple pytorch dataloader workers
Expand Down
4 changes: 1 addition & 3 deletions relevant_install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash
git clone https://github.com/Genentech/scimilarity.git
cd scimilarity
pip install .
cd ../
cd scimilarity_gred
pip install .
cd ../
2 changes: 1 addition & 1 deletion reproduce/supp_figures_part3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"\n",
"import torch\n",
"from lightning import LightningDataModule\n",
"from scimilarity_gred.tiledb_sample_data_models import SampleCellsDataModule_disease, scDataset_disease\n",
"from scimilarity.tiledb_sample_data_models import SampleCellsDataModule_disease, scDataset_disease\n",
"from torch.utils.data import Dataset, DataLoader\n",
"\n",
"# from cellm.data.data_structures import CellSample\n",
Expand Down