Skip to content

Commit

Permalink
deploy: 355ecde
Browse files Browse the repository at this point in the history
  • Loading branch information
rfbgo committed Jun 20, 2024
1 parent a4a83b3 commit 31b400f
Show file tree
Hide file tree
Showing 148 changed files with 253 additions and 221 deletions.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/ramble.doctree
Binary file not shown.
Binary file modified .doctrees/ramble.test.modifier_functionality.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ <h1>All modules for which code is available</h1>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
21 changes: 14 additions & 7 deletions _modules/ramble/application.html
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,8 @@ <h1>Source code for ramble.application</h1><div class="highlight"><pre>
<span class="k">def</span> <span class="nf">set_modifiers</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">modifiers</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Set modifiers for this instance&quot;&quot;&quot;</span>
<span class="k">if</span> <span class="n">modifiers</span><span class="p">:</span>
<span class="bp">self</span><span class="o">.</span><span class="n">modifiers</span> <span class="o">=</span> <span class="n">modifiers</span><span class="o">.</span><span class="n">copy</span><span class="p">()</span></div>
<span class="bp">self</span><span class="o">.</span><span class="n">modifiers</span> <span class="o">=</span> <span class="n">modifiers</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">build_modifier_instances</span><span class="p">()</span></div>


<div class="viewcode-block" id="ApplicationBase.set_tags">
Expand Down Expand Up @@ -920,28 +921,34 @@ <h1>Source code for ramble.application</h1><div class="highlight"><pre>
<span class="n">mod_inst</span><span class="o">.</span><span class="n">set_on_executables</span><span class="p">(</span><span class="kc">None</span><span class="p">)</span>

<span class="k">if</span> <span class="s2">&quot;mode&quot;</span> <span class="ow">in</span> <span class="n">mod</span><span class="p">:</span>
<span class="n">mod_inst</span><span class="o">.</span><span class="n">set_usage_mode</span><span class="p">(</span><span class="n">mod</span><span class="p">[</span><span class="s2">&quot;mode&quot;</span><span class="p">])</span>
<span class="n">mode_name</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">expander</span><span class="o">.</span><span class="n">expand_var</span><span class="p">(</span><span class="n">mod</span><span class="p">[</span><span class="s2">&quot;mode&quot;</span><span class="p">])</span>
<span class="n">mod_inst</span><span class="o">.</span><span class="n">set_usage_mode</span><span class="p">(</span><span class="n">mode_name</span><span class="p">)</span>
<span class="k">else</span><span class="p">:</span>
<span class="n">mod_inst</span><span class="o">.</span><span class="n">set_usage_mode</span><span class="p">(</span><span class="kc">None</span><span class="p">)</span>

<span class="n">mod_inst</span><span class="o">.</span><span class="n">inherit_from_application</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span>
<span class="n">mod_inst</span><span class="o">.</span><span class="n">modify_experiment</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span>

<span class="bp">self</span><span class="o">.</span><span class="n">_modifier_instances</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">mod_inst</span><span class="p">)</span>

<span class="c1"># Add this modifiers required variables for validation</span>
<span class="bp">self</span><span class="o">.</span><span class="n">keywords</span><span class="o">.</span><span class="n">update_keys</span><span class="p">(</span><span class="n">mod_inst</span><span class="o">.</span><span class="n">required_vars</span><span class="p">)</span>

<span class="c1"># Validate the new modifiers variables exist</span>
<span class="c1"># (note: the base ramble variables are checked earlier too)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">keywords</span><span class="o">.</span><span class="n">check_required_keys</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">variables</span><span class="p">)</span>

<span class="c1"># Ensure no expand vars are set correctly for modifiers</span>
<span class="k">for</span> <span class="n">mod_inst</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="n">_modifier_instances</span><span class="p">:</span>
<span class="k">for</span> <span class="n">var</span> <span class="ow">in</span> <span class="n">mod_inst</span><span class="o">.</span><span class="n">no_expand_vars</span><span class="p">():</span>
<span class="bp">self</span><span class="o">.</span><span class="n">expander</span><span class="o">.</span><span class="n">add_no_expand_var</span><span class="p">(</span><span class="n">var</span><span class="p">)</span>
<span class="n">mod_inst</span><span class="o">.</span><span class="n">expander</span><span class="o">.</span><span class="n">add_no_expand_var</span><span class="p">(</span><span class="n">var</span><span class="p">)</span></div>


<div class="viewcode-block" id="ApplicationBase.validate_experiment">
<a class="viewcode-back" href="../../ramble.html#ramble.application.ApplicationBase.validate_experiment">[docs]</a>
<span class="k">def</span> <span class="nf">validate_experiment</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="c1"># Validate the new modifiers variables exist</span>
<span class="c1"># (note: the base ramble variables are checked earlier too)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">keywords</span><span class="o">.</span><span class="n">check_required_keys</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">variables</span><span class="p">)</span></div>


<div class="viewcode-block" id="ApplicationBase.define_modifier_variables">
<a class="viewcode-back" href="../../ramble.html#ramble.application.ApplicationBase.define_modifier_variables">[docs]</a>
<span class="k">def</span> <span class="nf">define_modifier_variables</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
Expand Down Expand Up @@ -2290,7 +2297,7 @@ <h1>Source code for ramble.application</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/application_types/executable.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h1>Source code for ramble.application_types.executable</h1><div class="highligh

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/application_types/spack.html
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ <h1>Source code for ramble.application_types.spack</h1><div class="highlight"><p

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/caches.html
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ <h1>Source code for ramble.caches</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd.html
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ <h1>Source code for ramble.cmd</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/attributes.html
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ <h1>Source code for ramble.cmd.attributes</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/clean.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ <h1>Source code for ramble.cmd.clean</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/commands.html
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ <h1>Source code for ramble.cmd.commands</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/common.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ <h1>Source code for ramble.cmd.common</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/common/arguments.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ <h1>Source code for ramble.cmd.common.arguments</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/common/info.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h1>Source code for ramble.cmd.common.info</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/common/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ <h1>Source code for ramble.cmd.common.list</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ <h1>Source code for ramble.cmd.config</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/debug.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ <h1>Source code for ramble.cmd.debug</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ <h1>Source code for ramble.cmd.edit</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ <h1>Source code for ramble.cmd.help</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/info.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ <h1>Source code for ramble.cmd.info</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/license.html
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ <h1>Source code for ramble.cmd.license</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ <h1>Source code for ramble.cmd.list</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/mirror.html
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ <h1>Source code for ramble.cmd.mirror</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/mods.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ <h1>Source code for ramble.cmd.mods</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/python.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ <h1>Source code for ramble.cmd.python</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/repo.html
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ <h1>Source code for ramble.cmd.repo</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/results.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ <h1>Source code for ramble.cmd.results</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/software_definitions.html
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ <h1>Source code for ramble.cmd.software_definitions</h1><div class="highlight"><

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/style.html
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ <h1>Source code for ramble.cmd.style</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/cmd/unit_test.html
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ <h1>Source code for ramble.cmd.unit_test</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -1637,7 +1637,7 @@ <h1>Source code for ramble.config</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/context.html
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ <h1>Source code for ramble.context</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/error.html
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ <h1>Source code for ramble.error</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _modules/ramble/expander.html
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ <h1>Source code for ramble.expander</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2022-2023, Google LLC.
<span class="lastupdated">Last updated on Jun 18, 2024.
<span class="lastupdated">Last updated on Jun 20, 2024.
</span></p>
</div>

Expand Down
Loading

0 comments on commit 31b400f

Please sign in to comment.