Skip to content

Commit

Permalink
deploy: be69b9b
Browse files Browse the repository at this point in the history
  • Loading branch information
rfbgo committed Dec 11, 2023
1 parent 165cc96 commit 9a88e01
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 127 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.modifier_types.doctree
Binary file not shown.
4 changes: 4 additions & 0 deletions _modules/ramble/expander.html
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,10 @@ <h1>Source code for ramble.expander</h1><div class="highlight"><pre>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">try</span><span class="p">:</span>
<span class="n">math_ast</span> <span class="o">=</span> <span class="n">ast</span><span class="o">.</span><span class="n">parse</span><span class="p">(</span><span class="n">in_str</span><span class="p">,</span> <span class="n">mode</span><span class="o">=</span><span class="s1">&#39;eval&#39;</span><span class="p">)</span>
<span class="c1"># If the only node in the AST is a constant, return an unmodified</span>
<span class="c1"># in_str.</span>
<span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">math_ast</span><span class="o">.</span><span class="n">body</span><span class="p">,</span> <span class="n">ast</span><span class="o">.</span><span class="n">Constant</span><span class="p">)</span> <span class="ow">and</span> <span class="nb">hasattr</span><span class="p">(</span><span class="n">math_ast</span><span class="o">.</span><span class="n">body</span><span class="p">,</span> <span class="s1">&#39;value&#39;</span><span class="p">):</span>
<span class="k">return</span> <span class="n">in_str</span>
<span class="n">out_str</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">eval_math</span><span class="p">(</span><span class="n">math_ast</span><span class="o">.</span><span class="n">body</span><span class="p">)</span>
<span class="k">return</span> <span class="n">out_str</span>
<span class="k">except</span> <span class="n">MathEvaluationError</span> <span class="k">as</span> <span class="n">e</span><span class="p">:</span>
Expand Down
42 changes: 6 additions & 36 deletions genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -1073,22 +1073,16 @@ <h2 id="E">E</h2>
<li><a href="ramble.modifier_types.html#ramble.modifier_types.spack.SpackModifier.executable_modifiers">(ramble.modifier_types.spack.SpackModifier attribute)</a>
</li>
</ul></li>
<li><a href="ramble.application_types.html#ramble.application_types.executable.ExecutableApplication">ExecutableApplication (class in ramble.application_types.executable)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="ramble.application_types.html#ramble.application_types.executable.ExecutableApplication">ExecutableApplication (class in ramble.application_types.executable)</a>
</li>
<li><a href="ramble.html#ramble.application.ApplicationBase.executables">executables (ramble.application.ApplicationBase attribute)</a>

<ul>
<li><a href="ramble.application_types.html#ramble.application_types.executable.ExecutableApplication.executables">(ramble.application_types.executable.ExecutableApplication attribute)</a>
</li>
<li><a href="ramble.application_types.html#ramble.application_types.spack.SpackApplication.executables">(ramble.application_types.spack.SpackApplication attribute)</a>
</li>
<li><a href="ramble.html#ramble.modifier.ModifierBase.executables">(ramble.modifier.ModifierBase attribute)</a>
</li>
<li><a href="ramble.modifier_types.html#ramble.modifier_types.basic.BasicModifier.executables">(ramble.modifier_types.basic.BasicModifier attribute)</a>
</li>
<li><a href="ramble.modifier_types.html#ramble.modifier_types.spack.SpackModifier.executables">(ramble.modifier_types.spack.SpackModifier attribute)</a>
</li>
<li><a href="ramble.html#ramble.namespace.namespace.executables">(ramble.namespace.namespace attribute)</a>
</li>
Expand Down Expand Up @@ -1697,12 +1691,6 @@ <h2 id="I">I</h2>
<li><a href="ramble.application_types.html#ramble.application_types.executable.ExecutableApplication.inputs">(ramble.application_types.executable.ExecutableApplication attribute)</a>
</li>
<li><a href="ramble.application_types.html#ramble.application_types.spack.SpackApplication.inputs">(ramble.application_types.spack.SpackApplication attribute)</a>
</li>
<li><a href="ramble.html#ramble.modifier.ModifierBase.inputs">(ramble.modifier.ModifierBase attribute)</a>
</li>
<li><a href="ramble.modifier_types.html#ramble.modifier_types.basic.BasicModifier.inputs">(ramble.modifier_types.basic.BasicModifier attribute)</a>
</li>
<li><a href="ramble.modifier_types.html#ramble.modifier_types.spack.SpackModifier.inputs">(ramble.modifier_types.spack.SpackModifier attribute)</a>
</li>
</ul></li>
<li><a href="ramble.html#ramble.stage.InputStage">InputStage (class in ramble.stage)</a>
Expand All @@ -1719,14 +1707,14 @@ <h2 id="I">I</h2>
</li>
<li><a href="ramble.test.modifier_functionality.html#ramble.test.modifier_functionality.modifier_helpers.intel_aps_modifier">intel_aps_modifier() (in module ramble.test.modifier_functionality.modifier_helpers)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="ramble.workspace.html#ramble.workspace.Workspace.internal">internal (ramble.workspace.Workspace property)</a>

<ul>
<li><a href="ramble.workspace.html#ramble.workspace.workspace.Workspace.internal">(ramble.workspace.workspace.Workspace property)</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="ramble.html#ramble.config.InternalConfigScope">InternalConfigScope (class in ramble.config)</a>
</li>
<li><a href="ramble.html#ramble.namespace.namespace.internals">internals (ramble.namespace.namespace attribute)</a>
Expand Down Expand Up @@ -2502,12 +2490,6 @@ <h2 id="P">P</h2>
<li><a href="ramble.application_types.html#ramble.application_types.executable.ExecutableApplication.phase_definitions">(ramble.application_types.executable.ExecutableApplication attribute)</a>
</li>
<li><a href="ramble.application_types.html#ramble.application_types.spack.SpackApplication.phase_definitions">(ramble.application_types.spack.SpackApplication attribute)</a>
</li>
<li><a href="ramble.html#ramble.modifier.ModifierBase.phase_definitions">(ramble.modifier.ModifierBase attribute)</a>
</li>
<li><a href="ramble.modifier_types.html#ramble.modifier_types.basic.BasicModifier.phase_definitions">(ramble.modifier_types.basic.BasicModifier attribute)</a>
</li>
<li><a href="ramble.modifier_types.html#ramble.modifier_types.spack.SpackModifier.phase_definitions">(ramble.modifier_types.spack.SpackModifier attribute)</a>
</li>
</ul></li>
<li><a href="ramble.html#ramble.application.PhaseCycleDetectedError">PhaseCycleDetectedError</a>
Expand All @@ -2534,10 +2516,10 @@ <h2 id="P">P</h2>
</li>
<li><a href="ramble.util.imp.html#ramble.util.imp.imp_importer.prepend_open">prepend_open() (in module ramble.util.imp.imp_importer)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="ramble.util.imp.html#ramble.util.imp.importlib_importer.PrependFileLoader">PrependFileLoader (class in ramble.util.imp.importlib_importer)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="ramble.html#ramble.application.ApplicationBase.print_chain_order">print_chain_order() (ramble.application.ApplicationBase method)</a>
</li>
<li><a href="ramble.cmd.html#ramble.cmd.software_definitions.print_conflicts">print_conflicts() (in module ramble.cmd.software_definitions)</a>
Expand Down Expand Up @@ -4357,12 +4339,6 @@ <h2 id="W">W</h2>
<li><a href="ramble.application_types.html#ramble.application_types.executable.ExecutableApplication.workload_variables">(ramble.application_types.executable.ExecutableApplication attribute)</a>
</li>
<li><a href="ramble.application_types.html#ramble.application_types.spack.SpackApplication.workload_variables">(ramble.application_types.spack.SpackApplication attribute)</a>
</li>
<li><a href="ramble.html#ramble.modifier.ModifierBase.workload_variables">(ramble.modifier.ModifierBase attribute)</a>
</li>
<li><a href="ramble.modifier_types.html#ramble.modifier_types.basic.BasicModifier.workload_variables">(ramble.modifier_types.basic.BasicModifier attribute)</a>
</li>
<li><a href="ramble.modifier_types.html#ramble.modifier_types.spack.SpackModifier.workload_variables">(ramble.modifier_types.spack.SpackModifier attribute)</a>
</li>
</ul></li>
<li><a href="ramble.html#ramble.expander.WorkloadNotDefinedError">WorkloadNotDefinedError</a>
Expand All @@ -4373,12 +4349,6 @@ <h2 id="W">W</h2>
<li><a href="ramble.application_types.html#ramble.application_types.executable.ExecutableApplication.workloads">(ramble.application_types.executable.ExecutableApplication attribute)</a>
</li>
<li><a href="ramble.application_types.html#ramble.application_types.spack.SpackApplication.workloads">(ramble.application_types.spack.SpackApplication attribute)</a>
</li>
<li><a href="ramble.html#ramble.modifier.ModifierBase.workloads">(ramble.modifier.ModifierBase attribute)</a>
</li>
<li><a href="ramble.modifier_types.html#ramble.modifier_types.basic.BasicModifier.workloads">(ramble.modifier_types.basic.BasicModifier attribute)</a>
</li>
<li><a href="ramble.modifier_types.html#ramble.modifier_types.spack.SpackModifier.workloads">(ramble.modifier_types.spack.SpackModifier attribute)</a>
</li>
</ul></li>
</ul></td>
Expand Down
Binary file modified objects.inv
Binary file not shown.
Loading

0 comments on commit 9a88e01

Please sign in to comment.