Skip to content

Commit 125e3ba

Browse files
committed
deploy: 12c8d81
1 parent f10b641 commit 125e3ba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+1937
-1297
lines changed

.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 99971844d3c8e24feb77bce77e8bcd2e
3+
config: b3b76fd8987b067ee7dc1d53b6e43b23
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

_modules/diffpy/structure.html

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,19 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>diffpy.structure &mdash; diffpy.structure 3.3.0 documentation</title>
9-
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
10-
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=7ab3649f" />
8+
<title>diffpy.structure &mdash; diffpy.structure 3.3.1rc0 documentation</title>
9+
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
10+
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=e59714d7" />
11+
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
1112

1213

1314
<script src="../../_static/jquery.js?v=5d32c60e"></script>
1415
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
15-
<script src="../../_static/documentation_options.js?v=c66389de"></script>
16+
<script src="../../_static/documentation_options.js?v=f28ebe10"></script>
1617
<script src="../../_static/doctools.js?v=9bcbadda"></script>
1718
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
19+
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
20+
<script src="../../_static/copybutton.js?v=cca77546"></script>
1821
<script src="../../_static/js/theme.js"></script>
1922
<link rel="index" title="Index" href="../../genindex.html" />
2023
<link rel="search" title="Search" href="../../search.html" />
@@ -41,7 +44,7 @@
4144
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
4245
<ul>
4346
<li class="toctree-l1"><a class="reference internal" href="../../license.html">License</a></li>
44-
<li class="toctree-l1"><a class="reference internal" href="../../release.html">Release Notes</a></li>
47+
<li class="toctree-l1"><a class="reference internal" href="../../release.html">Release notes</a></li>
4548
<li class="toctree-l1"><a class="reference internal" href="../../api/diffpy.structure.html">Package API</a></li>
4649
</ul>
4750

@@ -73,20 +76,18 @@ <h1>Source code for diffpy.structure</h1><div class="highlight"><pre>
7376
<span></span><span class="ch">#!/usr/bin/env python</span>
7477
<span class="c1">##############################################################################</span>
7578
<span class="c1">#</span>
76-
<span class="c1"># (c) 2024 The Trustees of Columbia University in the City of New York.</span>
79+
<span class="c1"># (c) 2024-2025 The Trustees of Columbia University in the City of New York.</span>
7780
<span class="c1"># All rights reserved.</span>
7881
<span class="c1">#</span>
79-
<span class="c1"># File coded by: Billinge Group members and community contributors.</span>
82+
<span class="c1"># File coded by: Chris Farrow, Pavol Juhas, Simon Billinge, Billinge Group members.</span>
8083
<span class="c1">#</span>
8184
<span class="c1"># See GitHub contributions for a more detailed list of contributors.</span>
8285
<span class="c1"># https://github.com/diffpy/diffpy.structure/graphs/contributors</span>
8386
<span class="c1">#</span>
8487
<span class="c1"># See LICENSE.rst for license information.</span>
8588
<span class="c1">#</span>
8689
<span class="c1">##############################################################################</span>
87-
88-
<span class="sd">&quot;&quot;&quot;</span>
89-
<span class="sd">Crystal structure container and parsers for structure formats.</span>
90+
<span class="sd">&quot;&quot;&quot;Crystal structure container and parsers for structure formats.</span>
9091

9192
<span class="sd">Classes related to the structure of materials:</span>
9293
<span class="sd"> * Atom</span>
@@ -109,22 +110,22 @@ <h1>Source code for diffpy.structure</h1><div class="highlight"><pre>
109110

110111
<span class="c1"># Interface definitions ------------------------------------------------------</span>
111112

112-
<span class="kn">from</span> <span class="nn">diffpy.structure.atom</span> <span class="kn">import</span> <span class="n">Atom</span>
113-
<span class="kn">from</span> <span class="nn">diffpy.structure.lattice</span> <span class="kn">import</span> <span class="n">Lattice</span>
114-
<span class="kn">from</span> <span class="nn">diffpy.structure.parsers</span> <span class="kn">import</span> <span class="n">getParser</span>
115-
<span class="kn">from</span> <span class="nn">diffpy.structure.pdffitstructure</span> <span class="kn">import</span> <span class="n">PDFFitStructure</span>
116-
<span class="kn">from</span> <span class="nn">diffpy.structure.structure</span> <span class="kn">import</span> <span class="n">Structure</span>
117-
<span class="kn">from</span> <span class="nn">diffpy.structure.structureerrors</span> <span class="kn">import</span> <span class="n">LatticeError</span><span class="p">,</span> <span class="n">StructureFormatError</span><span class="p">,</span> <span class="n">SymmetryError</span>
113+
<span class="kn">from</span><span class="w"> </span><span class="nn">diffpy.structure.atom</span><span class="w"> </span><span class="kn">import</span> <span class="n">Atom</span>
114+
<span class="kn">from</span><span class="w"> </span><span class="nn">diffpy.structure.lattice</span><span class="w"> </span><span class="kn">import</span> <span class="n">Lattice</span>
115+
<span class="kn">from</span><span class="w"> </span><span class="nn">diffpy.structure.parsers</span><span class="w"> </span><span class="kn">import</span> <span class="n">getParser</span>
116+
<span class="kn">from</span><span class="w"> </span><span class="nn">diffpy.structure.pdffitstructure</span><span class="w"> </span><span class="kn">import</span> <span class="n">PDFFitStructure</span>
117+
<span class="kn">from</span><span class="w"> </span><span class="nn">diffpy.structure.structure</span><span class="w"> </span><span class="kn">import</span> <span class="n">Structure</span>
118+
<span class="kn">from</span><span class="w"> </span><span class="nn">diffpy.structure.structureerrors</span><span class="w"> </span><span class="kn">import</span> <span class="n">LatticeError</span><span class="p">,</span> <span class="n">StructureFormatError</span><span class="p">,</span> <span class="n">SymmetryError</span>
118119

119120
<span class="c1"># package version</span>
120-
<span class="kn">from</span> <span class="nn">diffpy.structure.version</span> <span class="kn">import</span> <span class="n">__version__</span>
121+
<span class="kn">from</span><span class="w"> </span><span class="nn">diffpy.structure.version</span><span class="w"> </span><span class="kn">import</span> <span class="n">__version__</span>
121122

122123
<span class="c1"># top level routines</span>
123124

124125

125126
<div class="viewcode-block" id="loadStructure">
126127
<a class="viewcode-back" href="../../api/diffpy.structure.html#diffpy.structure.loadStructure">[docs]</a>
127-
<span class="k">def</span> <span class="nf">loadStructure</span><span class="p">(</span><span class="n">filename</span><span class="p">,</span> <span class="n">fmt</span><span class="o">=</span><span class="s2">&quot;auto&quot;</span><span class="p">,</span> <span class="o">**</span><span class="n">kw</span><span class="p">):</span>
128+
<span class="k">def</span><span class="w"> </span><span class="nf">loadStructure</span><span class="p">(</span><span class="n">filename</span><span class="p">,</span> <span class="n">fmt</span><span class="o">=</span><span class="s2">&quot;auto&quot;</span><span class="p">,</span> <span class="o">**</span><span class="n">kw</span><span class="p">):</span>
128129
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Load new structure object from the specified file.</span>
129130

130131
<span class="sd"> Parameters</span>
@@ -175,7 +176,7 @@ <h1>Source code for diffpy.structure</h1><div class="highlight"><pre>
175176
<hr/>
176177

177178
<div role="contentinfo">
178-
<p>&#169; Copyright 2024, The Trustees of Columbia University in the City of New York.</p>
179+
<p>&#169; Copyright 2025, The Trustees of Columbia University in the City of New York.</p>
179180
</div>
180181

181182
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a

_modules/diffpy/structure/_legacy_importer.html

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,19 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>diffpy.structure._legacy_importer &mdash; diffpy.structure 3.3.0 documentation</title>
9-
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=fa44fd50" />
10-
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=7ab3649f" />
8+
<title>diffpy.structure._legacy_importer &mdash; diffpy.structure 3.3.1rc0 documentation</title>
9+
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" />
10+
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />
11+
<link rel="stylesheet" type="text/css" href="../../../_static/copybutton.css?v=76b2166b" />
1112

1213

1314
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1415
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
15-
<script src="../../../_static/documentation_options.js?v=c66389de"></script>
16+
<script src="../../../_static/documentation_options.js?v=f28ebe10"></script>
1617
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
1718
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
19+
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>
20+
<script src="../../../_static/copybutton.js?v=cca77546"></script>
1821
<script src="../../../_static/js/theme.js"></script>
1922
<link rel="index" title="Index" href="../../../genindex.html" />
2023
<link rel="search" title="Search" href="../../../search.html" />
@@ -41,7 +44,7 @@
4144
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
4245
<ul>
4346
<li class="toctree-l1"><a class="reference internal" href="../../../license.html">License</a></li>
44-
<li class="toctree-l1"><a class="reference internal" href="../../../release.html">Release Notes</a></li>
47+
<li class="toctree-l1"><a class="reference internal" href="../../../release.html">Release notes</a></li>
4548
<li class="toctree-l1"><a class="reference internal" href="../../../api/diffpy.structure.html">Package API</a></li>
4649
</ul>
4750

@@ -85,9 +88,8 @@ <h1>Source code for diffpy.structure._legacy_importer</h1><div class="highlight"
8588
<span class="c1"># See LICENSE.txt for license information.</span>
8689
<span class="c1">#</span>
8790
<span class="c1">##############################################################################</span>
88-
89-
<span class="sd">&quot;&quot;&quot;</span>
90-
<span class="sd">Support import of old camel-case module names with DeprecationWarning.</span>
91+
<span class="sd">&quot;&quot;&quot;Support import of old camel-case module names with</span>
92+
<span class="sd">DeprecationWarning.</span>
9193

9294
<span class="sd">The imported camel-case modules are aliases for the current module</span>
9395
<span class="sd">instances. Their `__name__` attributes are thus all in lower-case.</span>
@@ -102,9 +104,9 @@ <h1>Source code for diffpy.structure._legacy_importer</h1><div class="highlight"
102104
<span class="sd">&quot;&quot;&quot;</span>
103105

104106

105-
<span class="kn">import</span> <span class="nn">importlib.abc</span>
106-
<span class="kn">import</span> <span class="nn">sys</span>
107-
<span class="kn">from</span> <span class="nn">warnings</span> <span class="kn">import</span> <span class="n">warn</span>
107+
<span class="kn">import</span><span class="w"> </span><span class="nn">importlib.abc</span>
108+
<span class="kn">import</span><span class="w"> </span><span class="nn">sys</span>
109+
<span class="kn">from</span><span class="w"> </span><span class="nn">warnings</span><span class="w"> </span><span class="kn">import</span> <span class="n">warn</span>
108110

109111
<span class="n">WMSG</span> <span class="o">=</span> <span class="s2">&quot;Module </span><span class="si">{!r}</span><span class="s2"> is deprecated. Use </span><span class="si">{!r}</span><span class="s2"> instead.&quot;</span>
110112

@@ -113,13 +115,13 @@ <h1>Source code for diffpy.structure._legacy_importer</h1><div class="highlight"
113115

114116
<div class="viewcode-block" id="FindRenamedStructureModule">
115117
<a class="viewcode-back" href="../../../api/diffpy.structure.html#diffpy.structure._legacy_importer.FindRenamedStructureModule">[docs]</a>
116-
<span class="k">class</span> <span class="nc">FindRenamedStructureModule</span><span class="p">(</span><span class="n">importlib</span><span class="o">.</span><span class="n">abc</span><span class="o">.</span><span class="n">MetaPathFinder</span><span class="p">):</span>
118+
<span class="k">class</span><span class="w"> </span><span class="nc">FindRenamedStructureModule</span><span class="p">(</span><span class="n">importlib</span><span class="o">.</span><span class="n">abc</span><span class="o">.</span><span class="n">MetaPathFinder</span><span class="p">):</span>
117119

118120
<span class="n">prefix</span> <span class="o">=</span> <span class="s2">&quot;diffpy.Structure.&quot;</span>
119121

120122
<div class="viewcode-block" id="FindRenamedStructureModule.find_spec">
121123
<a class="viewcode-back" href="../../../api/diffpy.structure.html#diffpy.structure._legacy_importer.FindRenamedStructureModule.find_spec">[docs]</a>
122-
<span class="k">def</span> <span class="nf">find_spec</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">fullname</span><span class="p">,</span> <span class="n">path</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">target</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
124+
<span class="k">def</span><span class="w"> </span><span class="nf">find_spec</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">fullname</span><span class="p">,</span> <span class="n">path</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">target</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
123125
<span class="c1"># only handle submodules of diffpy.Structure</span>
124126
<span class="k">if</span> <span class="ow">not</span> <span class="n">fullname</span><span class="o">.</span><span class="n">startswith</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">prefix</span><span class="p">):</span>
125127
<span class="k">return</span> <span class="kc">None</span>
@@ -140,14 +142,15 @@ <h1>Source code for diffpy.structure._legacy_importer</h1><div class="highlight"
140142

141143
<div class="viewcode-block" id="MapRenamedStructureModule">
142144
<a class="viewcode-back" href="../../../api/diffpy.structure.html#diffpy.structure._legacy_importer.MapRenamedStructureModule">[docs]</a>
143-
<span class="k">class</span> <span class="nc">MapRenamedStructureModule</span><span class="p">(</span><span class="n">importlib</span><span class="o">.</span><span class="n">abc</span><span class="o">.</span><span class="n">Loader</span><span class="p">):</span>
145+
<span class="k">class</span><span class="w"> </span><span class="nc">MapRenamedStructureModule</span><span class="p">(</span><span class="n">importlib</span><span class="o">.</span><span class="n">abc</span><span class="o">.</span><span class="n">Loader</span><span class="p">):</span>
144146
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Loader for old camel-case module names.</span>
147+
145148
<span class="sd"> Import the current module and alias it under the old name.</span>
146149
<span class="sd"> &quot;&quot;&quot;</span>
147150

148151
<div class="viewcode-block" id="MapRenamedStructureModule.create_module">
149152
<a class="viewcode-back" href="../../../api/diffpy.structure.html#diffpy.structure._legacy_importer.MapRenamedStructureModule.create_module">[docs]</a>
150-
<span class="k">def</span> <span class="nf">create_module</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">spec</span><span class="p">):</span>
153+
<span class="k">def</span><span class="w"> </span><span class="nf">create_module</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">spec</span><span class="p">):</span>
151154
<span class="n">lcname</span> <span class="o">=</span> <span class="n">spec</span><span class="o">.</span><span class="n">name</span><span class="o">.</span><span class="n">lower</span><span class="p">()</span>
152155
<span class="n">mod</span> <span class="o">=</span> <span class="n">importlib</span><span class="o">.</span><span class="n">import_module</span><span class="p">(</span><span class="n">lcname</span><span class="p">)</span>
153156
<span class="n">sys</span><span class="o">.</span><span class="n">modules</span><span class="p">[</span><span class="n">spec</span><span class="o">.</span><span class="n">name</span><span class="p">]</span> <span class="o">=</span> <span class="n">mod</span>
@@ -157,7 +160,7 @@ <h1>Source code for diffpy.structure._legacy_importer</h1><div class="highlight"
157160

158161
<div class="viewcode-block" id="MapRenamedStructureModule.exec_module">
159162
<a class="viewcode-back" href="../../../api/diffpy.structure.html#diffpy.structure._legacy_importer.MapRenamedStructureModule.exec_module">[docs]</a>
160-
<span class="k">def</span> <span class="nf">exec_module</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">module</span><span class="p">):</span>
163+
<span class="k">def</span><span class="w"> </span><span class="nf">exec_module</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">module</span><span class="p">):</span>
161164
<span class="k">return</span></div>
162165
</div>
163166

@@ -183,7 +186,7 @@ <h1>Source code for diffpy.structure._legacy_importer</h1><div class="highlight"
183186
<hr/>
184187

185188
<div role="contentinfo">
186-
<p>&#169; Copyright 2024, The Trustees of Columbia University in the City of New York.</p>
189+
<p>&#169; Copyright 2025, The Trustees of Columbia University in the City of New York.</p>
187190
</div>
188191

189192
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a

0 commit comments

Comments
 (0)