Skip to content

Commit

Permalink
Deploying to pdoc from @ 163b6d9 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
slayoo committed Sep 26, 2024
1 parent cf7fb51 commit 5d7caae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PySDM/attributes/impl/attribute_registry.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ <h1 class="modulename">
</span><span id="L-54"><a href="#L-54"><span class="linenos">54</span></a> <span class="k">if</span> <span class="n">name</span> <span class="ow">not</span> <span class="ow">in</span> <span class="n">_ATTRIBUTES_REGISTRY</span><span class="p">:</span>
</span><span id="L-55"><a href="#L-55"><span class="linenos">55</span></a> <span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span>
</span><span id="L-56"><a href="#L-56"><span class="linenos">56</span></a> <span class="sa">f</span><span class="s2">&quot;Unknown attribute name: </span><span class="si">{</span><span class="n">name</span><span class="si">}</span><span class="s2">;&quot;</span>
</span><span id="L-57"><a href="#L-57"><span class="linenos">57</span></a> <span class="s2">&quot; valid names: {&#39;, &#39;.join(sorted(_ATTRIBUTES_REGISTRY))}&quot;</span>
</span><span id="L-57"><a href="#L-57"><span class="linenos">57</span></a> <span class="sa">f</span><span class="s2">&quot; valid names: </span><span class="si">{</span><span class="s1">&#39;, &#39;</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="nb">sorted</span><span class="p">(</span><span class="n">_ATTRIBUTES_REGISTRY</span><span class="p">))</span><span class="si">}</span><span class="s2">&quot;</span>
</span><span id="L-58"><a href="#L-58"><span class="linenos">58</span></a> <span class="p">)</span>
</span><span id="L-59"><a href="#L-59"><span class="linenos">59</span></a> <span class="k">for</span> <span class="bp">cls</span><span class="p">,</span> <span class="n">func</span> <span class="ow">in</span> <span class="n">_ATTRIBUTES_REGISTRY</span><span class="p">[</span><span class="n">name</span><span class="p">]</span><span class="o">.</span><span class="n">items</span><span class="p">():</span>
</span><span id="L-60"><a href="#L-60"><span class="linenos">60</span></a> <span class="k">if</span> <span class="n">func</span><span class="p">(</span><span class="n">dynamics</span><span class="p">,</span> <span class="n">formulae</span><span class="p">):</span>
Expand Down Expand Up @@ -188,7 +188,7 @@ <h1 class="modulename">
</span><span id="get_attribute_class-55"><a href="#get_attribute_class-55"><span class="linenos">55</span></a> <span class="k">if</span> <span class="n">name</span> <span class="ow">not</span> <span class="ow">in</span> <span class="n">_ATTRIBUTES_REGISTRY</span><span class="p">:</span>
</span><span id="get_attribute_class-56"><a href="#get_attribute_class-56"><span class="linenos">56</span></a> <span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span>
</span><span id="get_attribute_class-57"><a href="#get_attribute_class-57"><span class="linenos">57</span></a> <span class="sa">f</span><span class="s2">&quot;Unknown attribute name: </span><span class="si">{</span><span class="n">name</span><span class="si">}</span><span class="s2">;&quot;</span>
</span><span id="get_attribute_class-58"><a href="#get_attribute_class-58"><span class="linenos">58</span></a> <span class="s2">&quot; valid names: {&#39;, &#39;.join(sorted(_ATTRIBUTES_REGISTRY))}&quot;</span>
</span><span id="get_attribute_class-58"><a href="#get_attribute_class-58"><span class="linenos">58</span></a> <span class="sa">f</span><span class="s2">&quot; valid names: </span><span class="si">{</span><span class="s1">&#39;, &#39;</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="nb">sorted</span><span class="p">(</span><span class="n">_ATTRIBUTES_REGISTRY</span><span class="p">))</span><span class="si">}</span><span class="s2">&quot;</span>
</span><span id="get_attribute_class-59"><a href="#get_attribute_class-59"><span class="linenos">59</span></a> <span class="p">)</span>
</span><span id="get_attribute_class-60"><a href="#get_attribute_class-60"><span class="linenos">60</span></a> <span class="k">for</span> <span class="bp">cls</span><span class="p">,</span> <span class="n">func</span> <span class="ow">in</span> <span class="n">_ATTRIBUTES_REGISTRY</span><span class="p">[</span><span class="n">name</span><span class="p">]</span><span class="o">.</span><span class="n">items</span><span class="p">():</span>
</span><span id="get_attribute_class-61"><a href="#get_attribute_class-61"><span class="linenos">61</span></a> <span class="k">if</span> <span class="n">func</span><span class="p">(</span><span class="n">dynamics</span><span class="p">,</span> <span class="n">formulae</span><span class="p">):</span>
Expand Down

0 comments on commit 5d7caae

Please sign in to comment.