flow_dict</span><span class="o">.</span><span class="n">items</span><span class="p">()}</span>
<span class="k">for</span> <span class="n">task</span> <span class="ow">in</span> <span class="n">task_list</span><span class="p">:</span>
    <span class="n">task</span><span class="o">.</span><span class="n">mandatory_activity</span> <span class="o">=</span> <span class="p">[]</span>

<span class="c1"># tasks should be evaluated without open boundary reactions. We can easily close them on</span>
<span class="c1"