ass="p">(</span><span class="n">comp_index</span><span class="p">):</span>
        <span class="k">return</span> <span class="p">[(</span><span class="n">s</span><span class="o">.</span><span class="n">index</span><span class="p">,</span> <span class="n">s</span><span class="o">.</span><span class="n">jimage</span><span class="p">)</span> <span class="k">for</span> <span class="n">s</span>
                <span class="ow">in</span> <span class="n">bonded_structure</span><span class="o">.</span><span class="