Skip to content

Commit

Permalink
Deploying to gh-pages from @ 013b507 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
srmnitc committed Nov 28, 2023
1 parent c451aca commit b403836
Show file tree
Hide file tree
Showing 17 changed files with 4,841 additions and 4,837 deletions.
2 changes: 1 addition & 1 deletion .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: 6768baffdf00506d3cf9439b6ca2ec83
config: 9bfb6f3cb120dcbe9edf1109593c0075
tags: 645f666f9bcd5a90fca523b33c5a78b7
1,043 changes: 1,043 additions & 0 deletions _images/6ea5f2ca981d5ab4cf0c54ab9dda44dc8112e4a91a445f3af2ad652d54b703fa.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3,744 changes: 3,744 additions & 0 deletions _images/8d51af6b5f3d2a00358f046e37e467d23ad13f99bc3c47ce0d41c5c9dcbfa3a8.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,043 changes: 0 additions & 1,043 deletions _images/adf515a694539a755814d39a2b5ca23eb645a84d8b572622487ce597992695b0.svg

This file was deleted.

3,744 changes: 0 additions & 3,744 deletions _images/e9b1a505b6c437fdc80c4c8445e01d22d4fc71b3ddf465392aa422c37c86fd75.svg

This file was deleted.

22 changes: 10 additions & 12 deletions _static/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,16 @@ div.body p, div.body dd, div.body li, div.body blockquote {
a.headerlink {
visibility: hidden;
}
a.brackets:before,
span.brackets > a:before{
content: "[";
}

a.brackets:after,
span.brackets > a:after {
content: "]";
}


h1:hover > a.headerlink,
h2:hover > a.headerlink,
Expand Down Expand Up @@ -324,17 +334,11 @@ aside.sidebar {
p.sidebar-title {
font-weight: bold;
}
nav.contents,
aside.topic,

div.admonition, div.topic, blockquote {
clear: left;
}

/* -- topics ---------------------------------------------------------------- */
nav.contents,
aside.topic,

div.topic {
border: 1px solid #ccc;
padding: 7px;
Expand Down Expand Up @@ -373,19 +377,13 @@ div.body p.centered {

div.sidebar > :last-child,
aside.sidebar > :last-child,
nav.contents > :last-child,
aside.topic > :last-child,

div.topic > :last-child,
div.admonition > :last-child {
margin-bottom: 0;
}

div.sidebar::after,
aside.sidebar::after,
nav.contents::after,
aside.topic::after,

div.topic::after,
div.admonition::after,
blockquote::after {
Expand Down
2 changes: 1 addition & 1 deletion docs/acknowledgements.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<title>Acknowledgements &#8212; pyscal-rdf</title>

Expand Down
2 changes: 1 addition & 1 deletion docs/examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<title>Examples &#8212; pyscal-rdf</title>

Expand Down
2 changes: 1 addition & 1 deletion docs/extending.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<title>Support &#8212; pyscal-rdf</title>

Expand Down
2 changes: 1 addition & 1 deletion docs/gettingstarted.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<title>Installation &#8212; pyscal-rdf</title>

Expand Down
8 changes: 4 additions & 4 deletions docs/intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<title>pyscal-rdf &#8212; pyscal-rdf</title>

Expand Down Expand Up @@ -404,7 +404,7 @@ <h1>pyscal-rdf<a class="headerlink" href="#pyscal-rdf" title="Permalink to this
<span class="g g-Whitespace"> </span><span class="mi">1</span> <span class="n">struct</span> <span class="o">=</span> <span class="n">graph</span><span class="o">.</span><span class="n">create</span><span class="o">.</span><span class="n">lattice</span><span class="o">.</span><span class="n">l12</span><span class="p">(</span><span class="n">element</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;Ni&#39;</span><span class="p">,</span> <span class="s1">&#39;Al&#39;</span><span class="p">])</span>
<span class="ne">----&gt; </span><span class="mi">2</span> <span class="n">struct</span><span class="o">.</span><span class="n">show</span><span class="o">.</span><span class="n">all</span><span class="p">()</span>

<span class="nn">File /usr/share/miniconda/envs/test/lib/python3.8/site-packages/pyscal3/operations/visualize.py:333,</span> in <span class="ni">plot_simple</span><span class="nt">(sys, colors, radius, opacity)</span>
<span class="nn">File /usr/share/miniconda/envs/test/lib/python3.11/site-packages/pyscal3/operations/visualize.py:333,</span> in <span class="ni">plot_simple</span><span class="nt">(sys, colors, radius, opacity)</span>
<span class="g g-Whitespace"> </span><span class="mi">331</span> <span class="n">box</span> <span class="o">=</span> <span class="n">sys</span><span class="o">.</span><span class="n">box</span><span class="o">.</span><span class="n">copy</span><span class="p">()</span>
<span class="g g-Whitespace"> </span><span class="mi">332</span> <span class="n">origin</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">array</span><span class="p">([</span><span class="mi">0</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="mi">0</span><span class="p">])</span>
<span class="ne">--&gt; </span><span class="mi">333</span> <span class="n">traces</span> <span class="o">=</span> <span class="n">create_box_plot</span><span class="p">(</span><span class="n">box</span><span class="p">,</span> <span class="n">origin</span><span class="p">)</span>
Expand All @@ -416,7 +416,7 @@ <h1>pyscal-rdf<a class="headerlink" href="#pyscal-rdf" title="Permalink to this
<span class="g g-Whitespace"> </span><span class="mi">350</span> <span class="p">)</span>
<span class="g g-Whitespace"> </span><span class="mi">351</span> <span class="p">)</span>

<span class="nn">File /usr/share/miniconda/envs/test/lib/python3.8/site-packages/pyscal3/operations/visualize.py:44,</span> in <span class="ni">create_box_plot</span><span class="nt">(box, origin)</span>
<span class="nn">File /usr/share/miniconda/envs/test/lib/python3.11/site-packages/pyscal3/operations/visualize.py:44,</span> in <span class="ni">create_box_plot</span><span class="nt">(box, origin)</span>
<span class="g g-Whitespace"> </span><span class="mi">42</span> <span class="n">traces</span> <span class="o">=</span> <span class="p">[]</span>
<span class="g g-Whitespace"> </span><span class="mi">43</span> <span class="k">for</span> <span class="n">face</span> <span class="ow">in</span> <span class="n">faces</span><span class="p">:</span>
<span class="ne">---&gt; </span><span class="mi">44</span> <span class="n">trace</span> <span class="o">=</span> <span class="n">go</span><span class="o">.</span><span class="n">Scatter3d</span><span class="p">(</span>
Expand All @@ -431,7 +431,7 @@ <h1>pyscal-rdf<a class="headerlink" href="#pyscal-rdf" title="Permalink to this
<span class="g g-Whitespace"> </span><span class="mi">53</span> <span class="n">traces</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">trace</span><span class="p">)</span>
<span class="g g-Whitespace"> </span><span class="mi">54</span> <span class="k">return</span> <span class="n">traces</span>

<span class="ne">UnboundLocalError</span>: local variable &#39;go&#39; referenced before assignment
<span class="ne">UnboundLocalError</span>: cannot access local variable &#39;go&#39; where it is not associated with a value
</pre></div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/license.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<title>License &#8212; pyscal-rdf</title>

Expand Down
6 changes: 3 additions & 3 deletions examples/01_getting_started.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<title>Getting started &#8212; pyscal-rdf</title>

Expand Down Expand Up @@ -436,7 +436,7 @@ <h2>Creation of structures<a class="headerlink" href="#creation-of-structures" t
</div>
</div>
<div class="cell_output docutils container">
<img alt="../_images/adf515a694539a755814d39a2b5ca23eb645a84d8b572622487ce597992695b0.svg" src="../_images/adf515a694539a755814d39a2b5ca23eb645a84d8b572622487ce597992695b0.svg" /></div>
<img alt="../_images/6ea5f2ca981d5ab4cf0c54ab9dda44dc8112e4a91a445f3af2ad652d54b703fa.svg" src="../_images/6ea5f2ca981d5ab4cf0c54ab9dda44dc8112e4a91a445f3af2ad652d54b703fa.svg" /></div>
</div>
<p>Now a Si diamond structure</p>
<div class="cell docutils container">
Expand All @@ -462,7 +462,7 @@ <h2>Creation of structures<a class="headerlink" href="#creation-of-structures" t
</div>
</div>
<div class="cell_output docutils container">
<img alt="../_images/e9b1a505b6c437fdc80c4c8445e01d22d4fc71b3ddf465392aa422c37c86fd75.svg" src="../_images/e9b1a505b6c437fdc80c4c8445e01d22d4fc71b3ddf465392aa422c37c86fd75.svg" /></div>
<img alt="../_images/8d51af6b5f3d2a00358f046e37e467d23ad13f99bc3c47ce0d41c5c9dcbfa3a8.svg" src="../_images/8d51af6b5f3d2a00358f046e37e467d23ad13f99bc3c47ce0d41c5c9dcbfa3a8.svg" /></div>
</div>
<p>We can save the graph and reload it as needed</p>
</section>
Expand Down
8 changes: 4 additions & 4 deletions examples/02_grain_boundaries.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<title>Creating Grain Boundaries &#8212; pyscal-rdf</title>

Expand Down Expand Up @@ -443,7 +443,7 @@ <h1>Creating Grain Boundaries<a class="headerlink" href="#creating-grain-boundar
<span class="n">Cell</span> <span class="n">In</span><span class="p">[</span><span class="mi">4</span><span class="p">],</span> <span class="n">line</span> <span class="mi">1</span>
<span class="ne">----&gt; </span><span class="mi">1</span> <span class="n">struct_gb_1</span><span class="o">.</span><span class="n">show</span><span class="o">.</span><span class="n">all</span><span class="p">()</span>

<span class="nn">File /usr/share/miniconda/envs/test/lib/python3.8/site-packages/pyscal3/operations/visualize.py:333,</span> in <span class="ni">plot_simple</span><span class="nt">(sys, colors, radius, opacity)</span>
<span class="nn">File /usr/share/miniconda/envs/test/lib/python3.11/site-packages/pyscal3/operations/visualize.py:333,</span> in <span class="ni">plot_simple</span><span class="nt">(sys, colors, radius, opacity)</span>
<span class="g g-Whitespace"> </span><span class="mi">331</span> <span class="n">box</span> <span class="o">=</span> <span class="n">sys</span><span class="o">.</span><span class="n">box</span><span class="o">.</span><span class="n">copy</span><span class="p">()</span>
<span class="g g-Whitespace"> </span><span class="mi">332</span> <span class="n">origin</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">array</span><span class="p">([</span><span class="mi">0</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="mi">0</span><span class="p">])</span>
<span class="ne">--&gt; </span><span class="mi">333</span> <span class="n">traces</span> <span class="o">=</span> <span class="n">create_box_plot</span><span class="p">(</span><span class="n">box</span><span class="p">,</span> <span class="n">origin</span><span class="p">)</span>
Expand All @@ -455,7 +455,7 @@ <h1>Creating Grain Boundaries<a class="headerlink" href="#creating-grain-boundar
<span class="g g-Whitespace"> </span><span class="mi">350</span> <span class="p">)</span>
<span class="g g-Whitespace"> </span><span class="mi">351</span> <span class="p">)</span>

<span class="nn">File /usr/share/miniconda/envs/test/lib/python3.8/site-packages/pyscal3/operations/visualize.py:44,</span> in <span class="ni">create_box_plot</span><span class="nt">(box, origin)</span>
<span class="nn">File /usr/share/miniconda/envs/test/lib/python3.11/site-packages/pyscal3/operations/visualize.py:44,</span> in <span class="ni">create_box_plot</span><span class="nt">(box, origin)</span>
<span class="g g-Whitespace"> </span><span class="mi">42</span> <span class="n">traces</span> <span class="o">=</span> <span class="p">[]</span>
<span class="g g-Whitespace"> </span><span class="mi">43</span> <span class="k">for</span> <span class="n">face</span> <span class="ow">in</span> <span class="n">faces</span><span class="p">:</span>
<span class="ne">---&gt; </span><span class="mi">44</span> <span class="n">trace</span> <span class="o">=</span> <span class="n">go</span><span class="o">.</span><span class="n">Scatter3d</span><span class="p">(</span>
Expand All @@ -470,7 +470,7 @@ <h1>Creating Grain Boundaries<a class="headerlink" href="#creating-grain-boundar
<span class="g g-Whitespace"> </span><span class="mi">53</span> <span class="n">traces</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">trace</span><span class="p">)</span>
<span class="g g-Whitespace"> </span><span class="mi">54</span> <span class="k">return</span> <span class="n">traces</span>

<span class="ne">UnboundLocalError</span>: local variable &#39;go&#39; referenced before assignment
<span class="ne">UnboundLocalError</span>: cannot access local variable &#39;go&#39; where it is not associated with a value
</pre></div>
</div>
</div>
Expand Down
23 changes: 13 additions & 10 deletions reports/docs/intro.err.log
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
Traceback (most recent call last):
File "/usr/share/miniconda/envs/test/lib/python3.8/site-packages/jupyter_cache/executors/utils.py", line 58, in single_nb_execution
File "/usr/share/miniconda/envs/test/lib/python3.11/site-packages/jupyter_cache/executors/utils.py", line 58, in single_nb_execution
executenb(
File "/usr/share/miniconda/envs/test/lib/python3.8/site-packages/nbclient/client.py", line 1305, in execute
File "/usr/share/miniconda/envs/test/lib/python3.11/site-packages/nbclient/client.py", line 1305, in execute
return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute()
File "/usr/share/miniconda/envs/test/lib/python3.8/site-packages/jupyter_core/utils/__init__.py", line 173, in wrapped
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda/envs/test/lib/python3.11/site-packages/jupyter_core/utils/__init__.py", line 173, in wrapped
return loop.run_until_complete(inner)
File "/usr/share/miniconda/envs/test/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda/envs/test/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
File "/usr/share/miniconda/envs/test/lib/python3.8/site-packages/nbclient/client.py", line 705, in async_execute
^^^^^^^^^^^^^^^
File "/usr/share/miniconda/envs/test/lib/python3.11/site-packages/nbclient/client.py", line 705, in async_execute
await self.async_execute_cell(
File "/usr/share/miniconda/envs/test/lib/python3.8/site-packages/nbclient/client.py", line 1058, in async_execute_cell
File "/usr/share/miniconda/envs/test/lib/python3.11/site-packages/nbclient/client.py", line 1058, in async_execute_cell
await self._check_raise_for_error(cell, cell_index, exec_reply)
File "/usr/share/miniconda/envs/test/lib/python3.8/site-packages/nbclient/client.py", line 914, in _check_raise_for_error
File "/usr/share/miniconda/envs/test/lib/python3.11/site-packages/nbclient/client.py", line 914, in _check_raise_for_error
raise CellExecutionError.from_cell_and_msg(cell, exec_reply_content)
nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell:
------------------
Expand All @@ -30,7 +33,7 @@ Cell In[4], line 2
 1 struct = graph.create.lattice.l12(element=['Ni', 'Al'])
----> 2 struct.show.all()

File /usr/share/miniconda/envs/test/lib/python3.8/site-packages/pyscal3/operations/visualize.py:333, in plot_simple(sys, colors, radius, opacity)
File /usr/share/miniconda/envs/test/lib/python3.11/site-packages/pyscal3/operations/visualize.py:333, in plot_simple(sys, colors, radius, opacity)
 331 box = sys.box.copy()
 332 origin = np.array([0,0,0])
--> 333 traces = create_box_plot(box, origin)
Expand All @@ -42,7 +45,7 @@ File /usr/share/miniconda/envs/test/lib/python3.8/site-packages/pyscal3/o
 350 )
 351 )

File /usr/share/miniconda/envs/test/lib/python3.8/site-packages/pyscal3/operations/visualize.py:44, in create_box_plot(box, origin)
File /usr/share/miniconda/envs/test/lib/python3.11/site-packages/pyscal3/operations/visualize.py:44, in create_box_plot(box, origin)
 42 traces = []
 43 for face in faces:
---> 44 trace = go.Scatter3d(
Expand All @@ -57,5 +60,5 @@ File /usr/share/miniconda/envs/test/lib/python3.8/site-packages/pyscal3/o
 53 traces.append(trace)
 54 return traces

UnboundLocalError: local variable 'go' referenced before assignment
UnboundLocalError: cannot access local variable 'go' where it is not associated with a value

Loading

0 comments on commit b403836

Please sign in to comment.