Skip to content

Commit

Permalink
[FIX] issue with partial extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamaedler committed Feb 12, 2025
1 parent 27bc4f2 commit c2c45d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scportrait/pipeline/extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def _get_classes_to_extract(self) -> None:
list(range(len(self.classes_loaded))), self.n_cells, replace=False
)
chosen_ids.sort()
self.classes = self.classes_loaded[chosen_ids]
self.classes = chosen_ids
self.px_centers = self.centers[chosen_ids]
else:
self.classes = self.classes_loaded
Expand Down

0 comments on commit c2c45d4

Please sign in to comment.