Skip to content

Commit

Permalink
mend
Browse files Browse the repository at this point in the history
  • Loading branch information
amva13 committed Oct 23, 2024
1 parent 766dd7a commit 8e851eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tdc/model_server/tokenizers/geneformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ def tokenize_cell_vectors(self,
X_norm = (X_view / n_counts * target_sum / norm_factor_vector)
X_norm = sp.csr_matrix(X_norm)

tokenized_cells += [
tokenized_cells.append([
self.rank_genes(X_norm[i].data,
coding_miRNA_tokens[X_norm[i].indices])
for i in range(X_norm.shape[0])
]
])

# add custom attributes for subview to dict
if self.custom_attr_name_dict is not None:
Expand Down

0 comments on commit 8e851eb

Please sign in to comment.