Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jan 12, 2024
1 parent ef00927 commit aee6865
Show file tree
Hide file tree
Showing 10 changed files with 147 additions and 386 deletions.
144 changes: 20 additions & 124 deletions _modules/transformato/mutate.html

Large diffs are not rendered by default.

239 changes: 92 additions & 147 deletions _modules/transformato/state.html

Large diffs are not rendered by default.

72 changes: 22 additions & 50 deletions _modules/transformato/system.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions _sources/autosummary/transformato.utils.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Functions

.. automethod:: transformato.utils.get_structure_name

.. automethod:: transformato.utils.get_test_output_dir

.. automethod:: transformato.utils.get_toppar_dir

.. automethod:: transformato.utils.isnotebook
Expand All @@ -38,8 +40,6 @@ Functions

.. automethod:: transformato.utils.postprocessing

.. automethod:: transformato.utils.print_mutations

.. automethod:: transformato.utils.psf_correction

.. automethod:: transformato.utils.run_simulation
Expand Down
25 changes: 0 additions & 25 deletions autosummary/transformato.mutate.html
Original file line number Diff line number Diff line change
Expand Up @@ -331,31 +331,6 @@ <h2>Description<a class="headerlink" href="#description" title="Link to this hea
</dl>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="transformato.mutate.Mutation._mutate_vdw">
<span class="sig-name descname"><span class="pre">_mutate_vdw</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">psf</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">lambda_value</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">vdw_atom_idx</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">offset</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">to_default</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/transformato/mutate.html#Mutation._mutate_vdw"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#transformato.mutate.Mutation._mutate_vdw" title="Link to this definition"></a></dt>
<dd><p>This is used to scale the LJ parameters of the DDD and DDX atoms to zero in phase II and III</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>psf</strong> (<em>CharmmPsfFile</em>) – </p></li>
<li><p><strong>lambda_value</strong> (<em>float</em>) – </p></li>
<li><p><strong>vdw_atom_idx</strong> (<em>List</em><em>[</em><em>int</em><em>]</em>) – </p></li>
<li><p><strong>offset</strong> (<em>int</em>) – </p></li>
<li><p><strong>to_default</strong> (<em>bool</em>) – </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="transformato.mutate.Mutation._scale_epsilon_and_rmin">
<em class="property"><span class="pre">static</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">_scale_epsilon_and_rmin</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">atom</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">lambda_value</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">psf</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tlc</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/transformato/mutate.html#Mutation._scale_epsilon_and_rmin"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#transformato.mutate.Mutation._scale_epsilon_and_rmin" title="Link to this definition"></a></dt>
<dd><p>This scales the LJ interactions (epsilon and rmin) from non-interacting DDD atom (no charge)
to ‘real’ dummy atom (no LJ!), typically this is performed in one step, but to be sure
we offer scalling possibility here as well</p>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="transformato.mutate.Mutation.mutate">
<span class="sig-name descname"><span class="pre">mutate</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">psf</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">lambda_value_electrostatic</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">1.0</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">lambda_value_vdw</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">1.0</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">vdw_atom_idx</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">[]</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">steric_mutation_to_default</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/transformato/mutate.html#Mutation.mutate"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#transformato.mutate.Mutation.mutate" title="Link to this definition"></a></dt>
Expand Down
16 changes: 0 additions & 16 deletions autosummary/transformato.state.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,22 +220,6 @@ <h2>Description<a class="headerlink" href="#description" title="Link to this hea
</dl>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="transformato.state.IntermediateStateFactory._write_amber_files">
<span class="sig-name descname"><span class="pre">_write_amber_files</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">psf</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">output_file_base</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tlc</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">env</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/transformato/state.html#IntermediateStateFactory._write_amber_files"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#transformato.state.IntermediateStateFactory._write_amber_files" title="Link to this definition"></a></dt>
<dd><p>Write a parm7 and rst7 file for each intermediate step, including information about the dummy atoms</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>psf</strong> (<em>AmberParm</em>) – </p></li>
<li><p><strong>output_file_base</strong> (<em>str</em>) – </p></li>
<li><p><strong>tlc</strong> (<em>str</em>) – </p></li>
<li><p><strong>env</strong> (<em>str</em>) – </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="transformato.state.IntermediateStateFactory._write_psf">
<em class="property"><span class="pre">static</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">_write_psf</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">psf</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">output_file_base</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">env</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/transformato/state.html#IntermediateStateFactory._write_psf"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#transformato.state.IntermediateStateFactory._write_psf" title="Link to this definition"></a></dt>
Expand Down
17 changes: 6 additions & 11 deletions autosummary/transformato.utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@
<li class="toctree-l4"><a class="reference internal" href="#transformato.utils.check_switching_function"><code class="docutils literal notranslate"><span class="pre">utils.check_switching_function()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="#transformato.utils.get_bin_dir"><code class="docutils literal notranslate"><span class="pre">utils.get_bin_dir()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="#transformato.utils.get_structure_name"><code class="docutils literal notranslate"><span class="pre">utils.get_structure_name()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="#transformato.utils.get_test_output_dir"><code class="docutils literal notranslate"><span class="pre">utils.get_test_output_dir()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="#transformato.utils.get_toppar_dir"><code class="docutils literal notranslate"><span class="pre">utils.get_toppar_dir()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="#transformato.utils.isnotebook"><code class="docutils literal notranslate"><span class="pre">utils.isnotebook()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="#transformato.utils.load_config_yaml"><code class="docutils literal notranslate"><span class="pre">utils.load_config_yaml()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="#transformato.utils.map_lj_mutations_to_atom_idx"><code class="docutils literal notranslate"><span class="pre">utils.map_lj_mutations_to_atom_idx()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="#transformato.utils.postprocessing"><code class="docutils literal notranslate"><span class="pre">utils.postprocessing()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="#transformato.utils.print_mutations"><code class="docutils literal notranslate"><span class="pre">utils.print_mutations()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="#transformato.utils.psf_correction"><code class="docutils literal notranslate"><span class="pre">utils.psf_correction()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="#transformato.utils.run_simulation"><code class="docutils literal notranslate"><span class="pre">utils.run_simulation()</span></code></a></li>
</ul>
Expand Down Expand Up @@ -144,6 +144,11 @@ <h2>Description<a class="headerlink" href="#description" title="Link to this hea
</dl>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="transformato.utils.get_test_output_dir">
<span class="sig-prename descclassname"><span class="pre">utils.</span></span><span class="sig-name descname"><span class="pre">get_test_output_dir</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#transformato.utils.get_test_output_dir" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="transformato.utils.get_toppar_dir">
<span class="sig-prename descclassname"><span class="pre">utils.</span></span><span class="sig-name descname"><span class="pre">get_toppar_dir</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#transformato.utils.get_toppar_dir" title="Link to this definition"></a></dt>
Expand Down Expand Up @@ -206,16 +211,6 @@ <h2>Description<a class="headerlink" href="#description" title="Link to this hea
</dl>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="transformato.utils.print_mutations">
<span class="sig-prename descclassname"><span class="pre">utils.</span></span><span class="sig-name descname"><span class="pre">print_mutations</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#transformato.utils.print_mutations" title="Link to this definition"></a></dt>
<dd><dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><p><strong>mutation</strong> (<em>dict</em>) – </p>
</dd>
</dl>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="transformato.utils.psf_correction">
<span class="sig-prename descclassname"><span class="pre">utils.</span></span><span class="sig-name descname"><span class="pre">psf_correction</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#transformato.utils.psf_correction" title="Link to this definition"></a></dt>
Expand Down
14 changes: 4 additions & 10 deletions genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,12 @@ <h2 id="_">_</h2>
</li>
<li><a href="autosummary/transformato.mutate.html#transformato.mutate.ProposeMutationRoute._check_for_lp">_check_for_lp() (transformato.mutate.ProposeMutationRoute method)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="autosummary/transformato.state.html#transformato.state.IntermediateStateFactory._check_hmr">_check_hmr() (transformato.state.IntermediateStateFactory method)</a>
</li>
<li><a href="autosummary/transformato.mutate.html#transformato.mutate.Mutation._compensate_charge">_compensate_charge() (transformato.mutate.Mutation method)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="autosummary/transformato.state.html#transformato.state.IntermediateStateFactory._copy_charmm_files">_copy_charmm_files() (transformato.state.IntermediateStateFactory method)</a>
</li>
<li><a href="autosummary/transformato.state.html#transformato.state.IntermediateStateFactory._copy_files">_copy_files() (transformato.state.IntermediateStateFactory method)</a>
Expand Down Expand Up @@ -233,20 +233,14 @@ <h2 id="_">_</h2>
<li><a href="autosummary/transformato.mutate.html#transformato.mutate.CommonCoreTransformation._mutate_atoms">_mutate_atoms() (transformato.mutate.CommonCoreTransformation method)</a>
</li>
<li><a href="autosummary/transformato.mutate.html#transformato.mutate.ProposeMutationRoute._mutate_to_common_core">_mutate_to_common_core() (transformato.mutate.ProposeMutationRoute method)</a>
</li>
<li><a href="autosummary/transformato.mutate.html#transformato.mutate.Mutation._mutate_vdw">_mutate_vdw() (transformato.mutate.Mutation method)</a>
</li>
<li><a href="autosummary/transformato.state.html#transformato.state.IntermediateStateFactory._overwrite_simulation_script_parameters">_overwrite_simulation_script_parameters() (transformato.state.IntermediateStateFactory method)</a>
</li>
<li><a href="autosummary/transformato.system.html#transformato.system.SystemStructure._read_parameters">_read_parameters() (transformato.system.SystemStructure method)</a>
</li>
<li><a href="autosummary/transformato.mutate.html#transformato.mutate.Mutation._scale_epsilon_and_rmin">_scale_epsilon_and_rmin() (transformato.mutate.Mutation static method)</a>
</li>
<li><a href="autosummary/transformato.mutate.html#transformato.mutate.ProposeMutationRoute._show_common_core">_show_common_core() (transformato.mutate.ProposeMutationRoute method)</a>
</li>
<li><a href="autosummary/transformato.mutate.html#transformato.mutate.ProposeMutationRoute._transform_common_core">_transform_common_core() (transformato.mutate.ProposeMutationRoute method)</a>
</li>
<li><a href="autosummary/transformato.state.html#transformato.state.IntermediateStateFactory._write_amber_files">_write_amber_files() (transformato.state.IntermediateStateFactory method)</a>
</li>
<li><a href="autosummary/transformato.state.html#transformato.state.IntermediateStateFactory._write_psf">_write_psf() (transformato.state.IntermediateStateFactory static method)</a>
</li>
Expand Down Expand Up @@ -475,6 +469,8 @@ <h2 id="G">G</h2>
<li><a href="autosummary/transformato.mutate.html#transformato.mutate.ProposeMutationRoute.get_idx_of_all_atoms">get_idx_of_all_atoms() (transformato.mutate.ProposeMutationRoute method)</a>
</li>
<li><a href="autosummary/transformato.utils.html#transformato.utils.get_structure_name">get_structure_name() (transformato.utils method)</a>
</li>
<li><a href="autosummary/transformato.utils.html#transformato.utils.get_test_output_dir">get_test_output_dir() (transformato.utils method)</a>
</li>
<li><a href="autosummary/transformato.utils.html#transformato.utils.get_toppar_dir">get_toppar_dir() (transformato.utils method)</a>
</li>
Expand Down Expand Up @@ -671,8 +667,6 @@ <h2 id="P">P</h2>
<li><a href="autosummary/transformato.mutate.html#transformato.mutate.perform_mutations">perform_mutations() (transformato.mutate method)</a>
</li>
<li><a href="autosummary/transformato.utils.html#transformato.utils.postprocessing">postprocessing() (transformato.utils method)</a>
</li>
<li><a href="autosummary/transformato.utils.html#transformato.utils.print_mutations">print_mutations() (transformato.utils method)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
Expand Down
Binary file modified objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit aee6865

Please sign in to comment.