an><span class="s1">&#39;Anatomical Name&#39;</span><span class="p">]</span><span class="o">.</span><span class="n">values</span> 
    <span class="k">else</span><span class="p">:</span>
        <span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;Invalid region_type: </span><span class="si">{</span><span class="n">region_type</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span>


    <span cla