From 37a63d58a3150047aa398340189fa2c9cee4d3be Mon Sep 17 00:00:00 2001 From: Can Ergen Date: Sun, 10 Dec 2023 00:02:21 -0800 Subject: [PATCH] Changes. --- popv/algorithms/_bbknn.py | 2 +- popv/algorithms/_onclass.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/popv/algorithms/_bbknn.py b/popv/algorithms/_bbknn.py index 81639fe..8147cc7 100644 --- a/popv/algorithms/_bbknn.py +++ b/popv/algorithms/_bbknn.py @@ -13,7 +13,7 @@ def __init__( labels_key: str | None = "_labels_annotation", result_key: str | None = "popv_knn_on_bbknn_prediction", embedding_key: str | None = "X_bbknn_umap_popv", - method_dict: dict | None = None, + #method_dict: dict | None = None, classifier_dict: dict | None = None, embedding_dict: dict | None = None, ) -> None: diff --git a/popv/algorithms/_onclass.py b/popv/algorithms/_onclass.py index 23acdc1..8a352f7 100644 --- a/popv/algorithms/_onclass.py +++ b/popv/algorithms/_onclass.py @@ -13,7 +13,7 @@ def __init__( batch_key: str | None = "_batch_annotation", labels_key: str | None = "_labels_annotation", layers_key: str | None = None, - max_iter: Optionalint] = 30, + max_iter: int | None = 30, cell_ontology_obs_key: str | None = None, result_key: str | None = "popv_onclass_prediction", seen_result_key: str | None = "popv_onclass_seen",