Skip to content

Commit

Permalink
doc: Update documentation for main
Browse files Browse the repository at this point in the history
  • Loading branch information
nxbench bot committed Dec 23, 2024
1 parent 4729e56 commit a0d5e47
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion main/_modules/nxbench/benchmarks/benchmark.html
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,11 @@ <h1>Source code for nxbench.benchmarks.benchmark</h1><div class="highlight"><pre
<span class="p">)</span>

<span class="k">for</span> <span class="n">run_result</span> <span class="ow">in</span> <span class="n">results</span><span class="p">:</span>
<span class="k">if</span> <span class="n">run_result</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span><span class="p">:</span>
<span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">run_result</span><span class="p">,</span> <span class="ne">BaseException</span><span class="p">):</span>
<span class="n">logger</span><span class="o">.</span><span class="n">error</span><span class="p">(</span><span class="s2">&quot;A subflow raised an exception: </span><span class="si">%s</span><span class="s2">&quot;</span><span class="p">,</span> <span class="n">run_result</span><span class="p">)</span>
<span class="k">continue</span>

<span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">run_result</span><span class="p">,</span> <span class="nb">dict</span><span class="p">):</span>
<span class="n">run_result</span><span class="p">[</span><span class="s2">&quot;python_version&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="n">actual_python_version</span>
<span class="n">bname</span> <span class="o">=</span> <span class="n">run_result</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="s2">&quot;backend&quot;</span><span class="p">,</span> <span class="s2">&quot;unknown&quot;</span><span class="p">)</span>
<span class="n">run_result</span><span class="p">[</span><span class="s2">&quot;backend_version&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="n">backend_version_map</span><span class="o">.</span><span class="n">get</span><span class="p">(</span>
Expand Down

0 comments on commit a0d5e47

Please sign in to comment.