dylanplummer commited on
Commit
b717bd9
·
1 Parent(s): c4c5be0

fix hic filepath

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -39,14 +39,10 @@ rna_file = hf_hub_download(repo_id="dylanplummer/islet-epigenome", filename="rna
39
  hic_file = hf_hub_download(repo_id="dylanplummer/islet-epigenome", filename="hic.h5ad.gz", repo_type="dataset", token=os.environ['DATASET_SECRET'])
40
  graph_file = hf_hub_download(repo_id="dylanplummer/islet-epigenome", filename=f"{prior_name}_prior_{resolution}_{suffix}.graphml.gz", repo_type="dataset", token=os.environ['DATASET_SECRET'])
41
  rna_file = unzip(rna_file)
42
- hic_file = unzip('hic.h5ad.gz')
43
 
44
  model_file = hf_hub_download(repo_id="dylanplummer/HiGLUE-islet", filename=f"glue_hic_{prior_name}_prior_{resolution}_{suffix}.dill", repo_type="model", token=os.environ['DATASET_SECRET'])
45
 
46
-
47
-
48
-
49
-
50
  rna = ad.read_h5ad(rna_file)
51
  scglue.models.configure_dataset(rna, "NB", use_highly_variable=True, use_rep="X_pca", use_layer="counts")
52
 
 
39
  hic_file = hf_hub_download(repo_id="dylanplummer/islet-epigenome", filename="hic.h5ad.gz", repo_type="dataset", token=os.environ['DATASET_SECRET'])
40
  graph_file = hf_hub_download(repo_id="dylanplummer/islet-epigenome", filename=f"{prior_name}_prior_{resolution}_{suffix}.graphml.gz", repo_type="dataset", token=os.environ['DATASET_SECRET'])
41
  rna_file = unzip(rna_file)
42
+ hic_file = unzip(hic_file)
43
 
44
  model_file = hf_hub_download(repo_id="dylanplummer/HiGLUE-islet", filename=f"glue_hic_{prior_name}_prior_{resolution}_{suffix}.dill", repo_type="model", token=os.environ['DATASET_SECRET'])
45
 
 
 
 
 
46
  rna = ad.read_h5ad(rna_file)
47
  scglue.models.configure_dataset(rna, "NB", use_highly_variable=True, use_rep="X_pca", use_layer="counts")
48