               <span class="c1"># If end of units block reached </span>
                <span class="n">at_units_block</span> <span class="o">=</span> <span class="kc">False</span>

            <span class="k">elif</span> <span class="n">line</span><span class="o">.</span><span class="n">startswith</span><span class="p">(</span><span class="s1">&#39;[UNITS]&#39;</span><span class="p">):</span>
                <span class="c1"># If beginning of units block reached</span>
                <span class="n">at_un