 <span class="ow">in</span> <span class="n">task_model</span><span class="o">.</span><span class="n">metabolites</span><span class="p">]))</span> <span class="o">==</span> <span class="mi">0</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">inflow_dict</span> <span class="o">=</span> <span class="p">{</span><span class