">&quot; and name </span><span class="si">{}</span><span class="s2">&quot;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">atom</span><span class="p">)</span>
    <span class="k">else</span><span class="p">:</span>
        <span class="n">atom_sel</span> <span class="o">=</span> <span class="s2">&quot;&quot;</span>

    <span class="c1"># create Pymol commands for each row in mapping table</span>
    <span class="k">for</span> <span class="n">i</span><span 