Skip to content

Commit

Permalink
mend
Browse files Browse the repository at this point in the history
  • Loading branch information
amva13 committed Jan 21, 2025
1 parent bd255e1 commit 79b6030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdc/test/test_model_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def testGeneformerPerturb(self):
dataset = "scperturb_drug_AissaBenevolenskaya2021"
data = PerturbOutcome(dataset)
adata = data.adata
tokenizer = GeneformerTokenizer()
tokenizer = GeneformerTokenizer(max_input_size=3)
adata.var["feature_id"] = adata.var.index.map(
lambda x: tokenizer.gene_name_id_dict.get(x, 0))
x = tokenizer.tokenize_cell_vectors(adata,
Expand Down

0 comments on commit 79b6030

Please sign in to comment.