Skip to content

Commit

Permalink
fix bug with numpy typing
Browse files Browse the repository at this point in the history
  • Loading branch information
freemansw1 committed Feb 7, 2024
1 parent d66c27b commit ca5631e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tobac/utils/bulk_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

def get_statistics(
features: pd.DataFrame,
labels: np.ndarray[int],
labels: np.ndarray,
*fields: tuple[np.ndarray],
statistic: dict[str, Union[Callable, tuple[Callable, dict]]] = {
"ncells": np.count_nonzero
Expand Down

0 comments on commit ca5631e

Please sign in to comment.