Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 2, 2025
1 parent 0a81e1d commit 7681a8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions latest/_modules/compass/ocean/tests/isomip_plus/viz/plot.html
Original file line number Diff line number Diff line change
Expand Up @@ -954,10 +954,10 @@ <h1>Source code for compass.ocean.tests.isomip_plus.viz.plot</h1><div class="hig
<span class="k">return</span>

<span class="k">if</span> <span class="n">oceanDomain</span><span class="p">:</span>
<span class="n">localPatches</span> <span class="o">=</span> <span class="n">copy</span><span class="o">.</span><span class="n">copy</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">oceanPatches</span><span class="p">)</span>
<span class="n">localPatches</span> <span class="o">=</span> <span class="n">copy</span><span class="o">.</span><span class="n">deepcopy</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">oceanPatches</span><span class="p">)</span>
<span class="n">localPatches</span><span class="o">.</span><span class="n">set_array</span><span class="p">(</span><span class="n">field</span><span class="p">[</span><span class="bp">self</span><span class="o">.</span><span class="n">oceanMask</span><span class="p">])</span>
<span class="k">else</span><span class="p">:</span>
<span class="n">localPatches</span> <span class="o">=</span> <span class="n">copy</span><span class="o">.</span><span class="n">copy</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">cavityPatches</span><span class="p">)</span>
<span class="n">localPatches</span> <span class="o">=</span> <span class="n">copy</span><span class="o">.</span><span class="n">deepcopy</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">cavityPatches</span><span class="p">)</span>
<span class="n">localPatches</span><span class="o">.</span><span class="n">set_array</span><span class="p">(</span><span class="n">field</span><span class="p">[</span><span class="bp">self</span><span class="o">.</span><span class="n">cavityMask</span><span class="p">])</span>

<span class="k">if</span> <span class="n">cmap</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span><span class="p">:</span>
Expand Down

0 comments on commit 7681a8a

Please sign in to comment.