pan class="p">:</span> <span class="n">action</span> <span class="k">for</span> <span class="n">bit</span><span class="p">,</span> <span class="n">action</span> <span class="ow">in</span> <span class="n">term</span> <span class="k">if</span> <span class="n">action</span> <span class="o">!=</span> <span class="s1">&#39;Z&#39;</span><span class="p">}</span>
            <span class="n">wr</span><span class="o">.</span><span class="n">write_xy_measurements</span><span class="p">(</span><span class="n">bit_pos_t