def adata():
    adata = ad.AnnData(np.zeros((100, 100)))
    adata.obsm["o"] = np.zeros((100, 50))
    adata.varm["o"] = np.zeros((100, 50))
    return adata
def _check_sigint_gate_is_correct(self):
        assert (
            self._threads_ignoring_sigint >= 0
        ), "This should never happen, someone must have modified the counter outside of SignalHandler."