Skip to content

Commit beeac66

Browse files
committed
deploy: 78d0bc2
1 parent e4341c2 commit beeac66

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

_modules/diffpy/utils/parsers/serialization.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,14 @@ <h1>Source code for diffpy.utils.parsers.serialization</h1><div class="highlight
127127
<span class="sd"> data_table: list or ndarray</span>
128128
<span class="sd"> Data table.</span>
129129
<span class="sd"> dt_colnames: list</span>
130-
<span class="sd"> Names of each column in data_table. Every name in data_table_cols will be put into the Dictionary as a key with</span>
131-
<span class="sd"> a value of that column in data_table (stored as a List). Put None for columns without names. If dt_cols has less</span>
132-
<span class="sd"> non-None entries than columns in data_table, the pair {&#39;data table&#39;: data_table} will be put in the dictionary.</span>
130+
<span class="sd"> Names of each column in data_table. Every name in data_table_cols will be put into the Dictionary</span>
131+
<span class="sd"> as a key with a value of that column in data_table (stored as a List). Put None for columns</span>
132+
<span class="sd"> without names. If dt_cols has less non-None entries than columns in data_table,</span>
133+
<span class="sd"> the pair {&#39;data table&#39;: data_table} will be put in the dictionary.</span>
133134
<span class="sd"> (Default None: only entry {&#39;data table&#39;: data_table} will be added to dictionary.)</span>
134135
<span class="sd"> show_path: bool</span>
135-
<span class="sd"> include a path element in the database entry (default True). If &#39;path&#39; is not included in hddata, extract path</span>
136-
<span class="sd"> from filename.</span>
136+
<span class="sd"> include a path element in the database entry (default True). If &#39;path&#39; is not included in hddata,</span>
137+
<span class="sd"> extract path from filename.</span>
137138
<span class="sd"> serial_file</span>
138139
<span class="sd"> Serial language file to dump dictionary into. If None (defualt), no dumping will occur.</span>
139140

@@ -279,7 +280,7 @@ <h1>Source code for diffpy.utils.parsers.serialization</h1><div class="highlight
279280

280281
<span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">return_dict</span><span class="p">)</span> <span class="o">==</span> <span class="mi">0</span><span class="p">:</span>
281282
<span class="n">warnings</span><span class="o">.</span><span class="n">warn</span><span class="p">(</span>
282-
<span class="sa">f</span><span class="s2">&quot;Loaded dictionary is empty. Possibly due to improper file type.&quot;</span><span class="p">,</span>
283+
<span class="s2">&quot;Loaded dictionary is empty. Possibly due to improper file type.&quot;</span><span class="p">,</span>
283284
<span class="ne">RuntimeWarning</span><span class="p">,</span>
284285
<span class="p">)</span>
285286

api/diffpy.utils.parsers.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,13 +236,16 @@ <h3>Parameters<a class="headerlink" href="#id4" title="Link to this heading">
236236
</dd>
237237
<dt>data_table: list or ndarray</dt><dd><p>Data table.</p>
238238
</dd>
239-
<dt>dt_colnames: list</dt><dd><p>Names of each column in data_table. Every name in data_table_cols will be put into the Dictionary as a key with
240-
a value of that column in data_table (stored as a List). Put None for columns without names. If dt_cols has less
241-
non-None entries than columns in data_table, the pair {‘data table’: data_table} will be put in the dictionary.
239+
<dt>dt_colnames: list</dt><dd><p>Names of each column in data_table. Every name in data_table_cols will be put into the Dictionary
240+
as a key with a value of that column in data_table (stored as a List). Put None for columns
241+
without names. If dt_cols has less non-None entries than columns in data_table,
242+
the pair {‘data table’: data_table} will be put in the dictionary.
242243
(Default None: only entry {‘data table’: data_table} will be added to dictionary.)</p>
243244
</dd>
244-
<dt>show_path: bool</dt><dd><p>include a path element in the database entry (default True). If ‘path’ is not included in hddata, extract path
245-
from filename.</p>
245+
<dt>show_path: bool</dt><dd><dl class="simple">
246+
<dt>include a path element in the database entry (default True). If ‘path’ is not included in hddata,</dt><dd><p>extract path from filename.</p>
247+
</dd>
248+
</dl>
246249
</dd>
247250
<dt>serial_file</dt><dd><p>Serial language file to dump dictionary into. If None (defualt), no dumping will occur.</p>
248251
</dd>

0 commit comments

Comments
 (0)