Skip to content

Commit

Permalink
test3
Browse files Browse the repository at this point in the history
  • Loading branch information
marianaql committed Jul 3, 2024
1 parent 2266d63 commit a89b762
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helical/models/uce/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def process_data(self,
list_of_mariana = [1,2,3]
if 1 in list_of_mariana:
# do my change

if gene_column_name != "index":
data.var.index = data.var[gene_column_name]

Expand Down Expand Up @@ -139,6 +139,7 @@ def process_data(self,
pe_row_idxs = get_protein_embeddings_idxs(files_config["offset_pkl_path"], species, species_to_all_gene_symbols, filtered_adata)
dataset_chroms, dataset_start = get_positions(Path(files_config["spec_chrom_csv_path"]), species, filtered_adata)


if not (len(dataset_chroms) == len(dataset_start) == num_genes == pe_row_idxs.shape[0]):
LOGGER.error(f'Invalid input dimensions for the UCEDataset! '
f'dataset_chroms: {len(dataset_chroms)}, '
Expand Down

0 comments on commit a89b762

Please sign in to comment.