   <span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span>
                        <span class="s2">&quot;Property value is outside the specified maximum value.&quot;</span>
                    <span class="p">)</span>
            <span class="k">elif</span> <span class="n">dist_type</span> <span class="o">==</span> <span class="s2">&quot;discrete&quot;</span><span class="p">:</span>

                <span class="c1"># Check that all values are integer</span>
                