39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;both_sig&#39;</span>
        <span class="k">continue</span>
    <span class="k">elif</span> <span class="n">ligand_sig</span> <span class="o">&lt;</span> <span class="mf">0.05</span><span class="p">:</span>
        <span class="n">adata</span><span class="o">.</span><span class="n">obs</span><span class="o">.</span><span class="n">loc</span><span class="p">[</span><span class="n">index</span><span class="p">,</span> <span 