Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zoepiran committed Aug 12, 2024
1 parent a40e7f8 commit b768879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/biolord/_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ def _compute_prediction(
for attribute_ in target_attributes:
categories_index = pd.Index(adata.obs[attribute_].values, dtype="category")
classes_dataset[attribute_] = {}
for key_, _ in tqdm(zip(*np.unique(categories_index.values, return_counts=True), strict=True)):
for key_, _ in tqdm(zip(*np.unique(categories_index.values, return_counts=True))):
bool_category = categories_index.get_loc(key_)

adata_cur = adata[bool_category, :].copy()
Expand Down

0 comments on commit b768879

Please sign in to comment.