Skip to content

Commit

Permalink
Test2
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinmiklitz committed Jul 20, 2018
1 parent 90ae645 commit 4a74029
Show file tree
Hide file tree
Showing 40 changed files with 1,947 additions and 12,703 deletions.
2 changes: 1 addition & 1 deletion docs/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: a0485ab5aa21ddde156875505b9df3e6
config: 30541112c5c64755b831f359f99dc274
tags: 645f666f9bcd5a90fca523b33c5a78b7
4 changes: 2 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = python -msphinx
SPHINXBUILD = sphinx-build
SPHINXPROJ = pywindow
SOURCEDIR = source
SOURCEDIR = ./source/
BUILDDIR = ..

# Put it first so that "make" without argument is like "make help".
Expand Down
3 changes: 1 addition & 2 deletions docs/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ <h1>All modules for which code is available</h1>

<div role="contentinfo">
<p>
&copy; Copyright 2018, Marcin Miklitz.
&copy; Copyright 2017, Marcin Miklitz, Jelfs Materials Group.

</p>
</div>
Expand Down Expand Up @@ -186,7 +186,6 @@ <h1>All modules for which code is available</h1>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>



Expand Down
15 changes: 7 additions & 8 deletions docs/_modules/pywindow/io_tools.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ <h1>Source code for pywindow.io_tools</h1><div class="highlight"><pre>
<span class="bp">self</span><span class="o">.</span><span class="n">message</span> <span class="o">=</span> <span class="n">message</span>


<div class="viewcode-block" id="Input"><a class="viewcode-back" href="../../pywindow.io_tools.html#pywindow.io_tools.Input">[docs]</a><span class="k">class</span> <span class="nc">Input</span><span class="p">(</span><span class="nb">object</span><span class="p">):</span>
<div class="viewcode-block" id="Input"><a class="viewcode-back" href="../../pywindow.html#pywindow.io_tools.Input">[docs]</a><span class="k">class</span> <span class="nc">Input</span><span class="p">(</span><span class="nb">object</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;Class used to load and process input files.&quot;&quot;&quot;</span>

<span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
Expand All @@ -183,7 +183,7 @@ <h1>Source code for pywindow.io_tools</h1><div class="highlight"><pre>
<span class="s1">&#39;.mol&#39;</span><span class="p">:</span> <span class="bp">self</span><span class="o">.</span><span class="n">_read_mol</span><span class="p">,</span>
<span class="p">}</span>

<div class="viewcode-block" id="Input.load_file"><a class="viewcode-back" href="../../pywindow.io_tools.html#pywindow.io_tools.Input.load_file">[docs]</a> <span class="k">def</span> <span class="nf">load_file</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">filepath</span><span class="p">):</span>
<div class="viewcode-block" id="Input.load_file"><a class="viewcode-back" href="../../pywindow.html#pywindow.io_tools.Input.load_file">[docs]</a> <span class="k">def</span> <span class="nf">load_file</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">filepath</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> This function opens any type of a readable file and decompose</span>
<span class="sd"> the file object into a list, for each line, of lists containing</span>
Expand Down Expand Up @@ -213,7 +213,7 @@ <h1>Source code for pywindow.io_tools</h1><div class="highlight"><pre>

<span class="k">return</span> <span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">_load_funcs</span><span class="p">[</span><span class="bp">self</span><span class="o">.</span><span class="n">file_type</span><span class="p">]())</span></div>

<div class="viewcode-block" id="Input.load_rdkit_mol"><a class="viewcode-back" href="../../pywindow.io_tools.html#pywindow.io_tools.Input.load_rdkit_mol">[docs]</a> <span class="k">def</span> <span class="nf">load_rdkit_mol</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">mol</span><span class="p">):</span>
<div class="viewcode-block" id="Input.load_rdkit_mol"><a class="viewcode-back" href="../../pywindow.html#pywindow.io_tools.Input.load_rdkit_mol">[docs]</a> <span class="k">def</span> <span class="nf">load_rdkit_mol</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">mol</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Return molecular data from :class:`rdkit.Chem.rdchem.Mol` object.</span>

Expand Down Expand Up @@ -321,7 +321,7 @@ <h1>Source code for pywindow.io_tools</h1><div class="highlight"><pre>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">system</span></div>


<div class="viewcode-block" id="Output"><a class="viewcode-back" href="../../pywindow.io_tools.html#pywindow.io_tools.Output">[docs]</a><span class="k">class</span> <span class="nc">Output</span><span class="p">(</span><span class="nb">object</span><span class="p">):</span>
<div class="viewcode-block" id="Output"><a class="viewcode-back" href="../../pywindow.html#pywindow.io_tools.Output">[docs]</a><span class="k">class</span> <span class="nc">Output</span><span class="p">(</span><span class="nb">object</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;Class used to process and save output files.&quot;&quot;&quot;</span>

<span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
Expand All @@ -331,7 +331,7 @@ <h1>Source code for pywindow.io_tools</h1><div class="highlight"><pre>
<span class="s1">&#39;pdb&#39;</span><span class="p">:</span> <span class="bp">self</span><span class="o">.</span><span class="n">_save_pdb</span><span class="p">,</span>
<span class="p">}</span>

<div class="viewcode-block" id="Output.dump2json"><a class="viewcode-back" href="../../pywindow.io_tools.html#pywindow.io_tools.Output.dump2json">[docs]</a> <span class="k">def</span> <span class="nf">dump2json</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">obj</span><span class="p">,</span> <span class="n">filepath</span><span class="p">,</span> <span class="n">override</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span>
<div class="viewcode-block" id="Output.dump2json"><a class="viewcode-back" href="../../pywindow.html#pywindow.io_tools.Output.dump2json">[docs]</a> <span class="k">def</span> <span class="nf">dump2json</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">obj</span><span class="p">,</span> <span class="n">filepath</span><span class="p">,</span> <span class="n">override</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Dump a dictionary into a JSON dictionary.</span>

Expand Down Expand Up @@ -371,7 +371,7 @@ <h1>Source code for pywindow.io_tools</h1><div class="highlight"><pre>
<span class="k">with</span> <span class="nb">open</span><span class="p">(</span><span class="n">filepath</span><span class="p">,</span> <span class="s1">&#39;w+&#39;</span><span class="p">)</span> <span class="k">as</span> <span class="n">json_file</span><span class="p">:</span>
<span class="n">json</span><span class="o">.</span><span class="n">dump</span><span class="p">(</span><span class="n">obj</span><span class="p">,</span> <span class="n">json_file</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span></div>

<div class="viewcode-block" id="Output.dump2file"><a class="viewcode-back" href="../../pywindow.io_tools.html#pywindow.io_tools.Output.dump2file">[docs]</a> <span class="k">def</span> <span class="nf">dump2file</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">obj</span><span class="p">,</span> <span class="n">filepath</span><span class="p">,</span> <span class="n">override</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span>
<div class="viewcode-block" id="Output.dump2file"><a class="viewcode-back" href="../../pywindow.html#pywindow.io_tools.Output.dump2file">[docs]</a> <span class="k">def</span> <span class="nf">dump2file</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">obj</span><span class="p">,</span> <span class="n">filepath</span><span class="p">,</span> <span class="n">override</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Dump a dictionary into a file. (Extensions: XYZ or PDB)</span>

Expand Down Expand Up @@ -545,7 +545,7 @@ <h1>Source code for pywindow.io_tools</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>
&copy; Copyright 2018, Marcin Miklitz.
&copy; Copyright 2017, Marcin Miklitz, Jelfs Materials Group.

</p>
</div>
Expand Down Expand Up @@ -578,7 +578,6 @@ <h1>Source code for pywindow.io_tools</h1><div class="highlight"><pre>
<script type="text/javascript" src="../../_static/jquery.js"></script>
<script type="text/javascript" src="../../_static/underscore.js"></script>
<script type="text/javascript" src="../../_static/doctools.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>



Expand Down
Loading

0 comments on commit 4a74029

Please sign in to comment.