an class="k">for</span> <span class="n">idx</span><span class="p">,</span> <span class="n">r</span> <span class="ow">in</span> <span class="n">residues</span><span class="o">.</span><span class="n">iterrows</span><span class="p">():</span>
        <span class="n">sec_struct</span> <span class="o">=</span> <span class="n">r</span><span class="p">[</span><span class="n">sec_struct_column</span><span class="p">]</span>

        <span class="c1"># see if we have helix or sheet prediction</span>
        <span cl