YosefLab/scib-metrics

Error when there is only one batch

justjhong opened this issue · 2 comments

silhouette_batch errors when there is only one batch:
ValueError: No objects to concatenate

We should check this edge case for the other metrics as well.

this should also be a part of #62

How can we ignore the batch metrics when we only have one batch here?