Skip to content

Commit 4c0bc28

Browse files
committed
Update to v0.9.5
1 parent 52ca180 commit 4c0bc28

File tree

76 files changed

+1825
-499
lines changed

Some content is hidden

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

76 files changed

+1825
-499
lines changed

atomate/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.9.4"
1+
__version__ = "0.9.5"

docs/_sources/atomate.vasp.firetasks.rst.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ Subpackages
1111
Submodules
1212
----------
1313

14+
atomate.vasp.firetasks.exchange module
15+
--------------------------------------
16+
17+
.. automodule:: atomate.vasp.firetasks.exchange
18+
:members:
19+
:undoc-members:
20+
:show-inheritance:
21+
1422
atomate.vasp.firetasks.glue\_tasks module
1523
-----------------------------------------
1624

docs/_sources/atomate.vasp.firetasks.tests.rst.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ atomate.vasp.firetasks.tests.test\_copy module
1212
:undoc-members:
1313
:show-inheritance:
1414

15+
atomate.vasp.firetasks.tests.test\_exchange module
16+
--------------------------------------------------
17+
18+
.. automodule:: atomate.vasp.firetasks.tests.test_exchange
19+
:members:
20+
:undoc-members:
21+
:show-inheritance:
22+
1523
atomate.vasp.firetasks.tests.test\_get\_interpolated\_poscar module
1624
-------------------------------------------------------------------
1725

docs/_sources/atomate.vasp.fireworks.rst.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ atomate.vasp.fireworks.core module
1212
:undoc-members:
1313
:show-inheritance:
1414

15+
atomate.vasp.fireworks.exchange module
16+
--------------------------------------
17+
18+
.. automodule:: atomate.vasp.fireworks.exchange
19+
:members:
20+
:undoc-members:
21+
:show-inheritance:
22+
1523
atomate.vasp.fireworks.nmr module
1624
---------------------------------
1725

docs/_sources/atomate.vasp.workflows.base.rst.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ atomate.vasp.workflows.base.elastic module
4444
:undoc-members:
4545
:show-inheritance:
4646

47+
atomate.vasp.workflows.base.exchange module
48+
-------------------------------------------
49+
50+
.. automodule:: atomate.vasp.workflows.base.exchange
51+
:members:
52+
:undoc-members:
53+
:show-inheritance:
54+
4755
atomate.vasp.workflows.base.ferroelectric module
4856
------------------------------------------------
4957

docs/_sources/atomate.vasp.workflows.tests.rst.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ atomate.vasp.workflows.tests.test\_elastic\_workflow module
2828
:undoc-members:
2929
:show-inheritance:
3030

31+
atomate.vasp.workflows.tests.test\_exchange\_workflow module
32+
------------------------------------------------------------
33+
34+
.. automodule:: atomate.vasp.workflows.tests.test_exchange_workflow
35+
:members:
36+
:undoc-members:
37+
:show-inheritance:
38+
3139
atomate.vasp.workflows.tests.test\_ferroelectric\_workflow module
3240
-----------------------------------------------------------------
3341

docs/_sources/changelog.rst.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
atomate Changelog
33
=================
44

5+
**v0.9.5**
6+
7+
* Add magnetism workflow (M. Horton, N. Frey)
8+
* Overhaul SCAN workflow (R. Kingsbury)
9+
* Move help to Discourse (A. Ganose)
10+
* add ModifyKPoints Firetask (M. Siron)
11+
* Misc fixes, dependency updates, and improvements (M. Horton, N. Frey, A. Jain, M. Siron, A. Ganose)
12+
513
**v0.9.4**
614

715
* Fixes for new pymatgen (S. Blau, S.P. Ong)

docs/_sources/contributors.rst.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ atomate development is led by the Hacking Materials research group led by Anubha
77
Contributions are provided by:
88

99
* Alireza Faghaninia, Alex Dunn, Alex Ganose, and Evan Spotte-Smith through the research group of A. Jain at LBNL.
10-
* Kiran Mathew, Shyam Dwaraknath, Joey Montoya, Murat Aykol, Patrick Huck, Brandon Wood, Sam Blau, Jimmy Shen, Anne Rutt, Eric Sivonxay, and Martin Siron through the research group of Prof. Kristin Persson at UC Berkeley.
10+
* Kiran Mathew, Shyam Dwaraknath, Joey Montoya, Murat Aykol, Matt Horton, Patrick Huck, Brandon Wood, Sam Blau, Jimmy Shen, Ryan Kingsbury, Anne Rutt, Eric Sivonxay, and Martin Siron through the research group of Prof. Kristin Persson at UC Berkeley.
1111
* Hanmei Tang, Prof. Shyue Ping Ong, and the Materials Virtual Lab research group at UC San Diego.
1212
* Brandon Bocklund, who led the atomate documentation effort, through the research group of Prof. Zi-Kiu Liu at Penn State.
1313
* Tess Smidt through the research group of Prof. Jeff Neaton at UC Berkeley.
1414
* Danny Broberg through the research group of Prof. Mark Asta at UC Berkeley.
15-
* External contributors: specter119, M. Dias Costa, S. Torrisi, Max Dylla, Marnik Bercx, Tara Maria Boland
15+
* External contributors: specter119, M. Dias Costa, S. Torrisi, Max Dylla, Marnik Bercx, Tara Maria Boland, Nathan Frey, Martin Siron

docs/_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var DOCUMENTATION_OPTIONS = {
22
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
3-
VERSION: '0.9.4',
3+
VERSION: '0.9.5',
44
LANGUAGE: 'None',
55
COLLAPSE_INDEX: false,
66
FILE_SUFFIX: '.html',

docs/atomate.common.firetasks.html

Lines changed: 80 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<html xmlns="http://www.w3.org/1999/xhtml">
55
<head>
66
<meta charset="utf-8" />
7-
<title>atomate.common.firetasks package &#8212; atomate 0.9.4 documentation</title>
7+
<title>atomate.common.firetasks package &#8212; atomate 0.9.5 documentation</title>
88
<link rel="stylesheet" href="_static/nature.css" type="text/css" />
99
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
1010
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
@@ -27,7 +27,7 @@ <h3>Navigation</h3>
2727
<li class="right" >
2828
<a href="py-modindex.html" title="Python Module Index"
2929
>modules</a> |</li>
30-
<li class="nav-item nav-item-0"><a href="index.html">atomate 0.9.4 documentation</a> &#187;</li>
30+
<li class="nav-item nav-item-0"><a href="index.html">atomate 0.9.5 documentation</a> &#187;</li>
3131
</ul>
3232
</div>
3333

@@ -63,12 +63,20 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
6363
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">fireworks.core.firework.FiretaskBase</span></code></p>
6464
<p>Task to copy the given list of files from the given directory to the destination directory.
6565
To customize override the setup_copy and copy_files methods.</p>
66-
<dl class="simple">
67-
<dt>Optional params:</dt><dd><p>from_dir (str): path to the directory containing the files to be copied.
68-
to_dir (str): path to the destination directory
66+
<dl>
67+
<dt>Optional params:</dt><dd><p>from_dir (str): path to the directory containing the files to be copied. Supports env_chk.
68+
to_dir (str): path to the destination directory. Supports env_chk.
6969
filesystem (str)
70-
files_to_copy (list): list of file names.
71-
exclude_files (list): list of file names to be excluded.</p>
70+
files_to_copy (list): list of file names. Defaults to copying everything in from_dir.
71+
exclude_files (list): list of file names to be excluded.
72+
suffix (str): suffix to append to each filename when copying</p>
73+
<blockquote>
74+
<div><p>(e.g., rename ‘INCAR’ to ‘INCAR.precondition’)</p>
75+
</div></blockquote>
76+
<dl class="simple">
77+
<dt>continue_on_missing(bool): Whether to continue copying when a file</dt><dd><p>in filenames is missing. Defaults to False.</p>
78+
</dd>
79+
</dl>
7280
</dd>
7381
</dl>
7482
<dl class="method">
@@ -79,7 +87,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
7987

8088
<dl class="attribute">
8189
<dt id="atomate.common.firetasks.glue_tasks.CopyFiles.optional_params">
82-
<code class="sig-name descname">optional_params</code><em class="property"> = ['from_dir', 'to_dir', 'filesystem', 'files_to_copy', 'exclude_files']</em><a class="headerlink" href="#atomate.common.firetasks.glue_tasks.CopyFiles.optional_params" title="Permalink to this definition"></a></dt>
90+
<code class="sig-name descname">optional_params</code><em class="property"> = ['from_dir', 'to_dir', 'filesystem', 'files_to_copy', 'exclude_files', 'suffix', 'continue_on_missing']</em><a class="headerlink" href="#atomate.common.firetasks.glue_tasks.CopyFiles.optional_params" title="Permalink to this definition"></a></dt>
8391
<dd></dd></dl>
8492

8593
<dl class="method">
@@ -109,18 +117,24 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
109117

110118
<dl class="method">
111119
<dt id="atomate.common.firetasks.glue_tasks.CopyFiles.setup_copy">
112-
<code class="sig-name descname">setup_copy</code><span class="sig-paren">(</span><em class="sig-param">from_dir</em>, <em class="sig-param">to_dir=None</em>, <em class="sig-param">filesystem=None</em>, <em class="sig-param">files_to_copy=None</em>, <em class="sig-param">exclude_files=None</em>, <em class="sig-param">from_path_dict=None</em><span class="sig-paren">)</span><a class="headerlink" href="#atomate.common.firetasks.glue_tasks.CopyFiles.setup_copy" title="Permalink to this definition"></a></dt>
120+
<code class="sig-name descname">setup_copy</code><span class="sig-paren">(</span><em class="sig-param">from_dir</em>, <em class="sig-param">to_dir=None</em>, <em class="sig-param">filesystem=None</em>, <em class="sig-param">files_to_copy=None</em>, <em class="sig-param">exclude_files=None</em>, <em class="sig-param">from_path_dict=None</em>, <em class="sig-param">suffix=None</em>, <em class="sig-param">fw_spec=None</em>, <em class="sig-param">continue_on_missing=False</em><span class="sig-paren">)</span><a class="headerlink" href="#atomate.common.firetasks.glue_tasks.CopyFiles.setup_copy" title="Permalink to this definition"></a></dt>
113121
<dd><p>setup the copy i.e setup the from directory, filesystem, destination directory etc.</p>
114122
<dl>
115123
<dt>Args:</dt><dd><p>from_dir (str)
116124
to_dir (str)
117125
filesystem (str)
118126
files_to_copy (list): if None all the files in the from_dir will be copied
119-
exclude_files (list)
120-
from_path_dict (dict): dict specification of the path. If specified must contain atleast</p>
127+
exclude_files (list): list of file names to be excluded.
128+
suffix (str): suffix to append to each filename when copying</p>
121129
<blockquote>
122-
<div><p>the key “path” that specifies the path to the from_dir.</p>
130+
<div><p>(e.g., rename ‘INCAR’ to ‘INCAR.precondition’)</p>
123131
</div></blockquote>
132+
<dl class="simple">
133+
<dt>continue_on_missing(bool): Whether to continue copying when a file</dt><dd><p>in filenames is missing. Defaults to False.</p>
134+
</dd>
135+
<dt>from_path_dict (dict): dict specification of the path. If specified must contain atleast</dt><dd><p>the key “path” that specifies the path to the from_dir.</p>
136+
</dd>
137+
</dl>
124138
</dd>
125139
</dl>
126140
</dd></dl>
@@ -131,7 +145,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
131145
<dt id="atomate.common.firetasks.glue_tasks.CopyFilesFromCalcLoc">
132146
<em class="property">class </em><code class="sig-prename descclassname">atomate.common.firetasks.glue_tasks.</code><code class="sig-name descname">CopyFilesFromCalcLoc</code><span class="sig-paren">(</span><em class="sig-param">*args</em>, <em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#atomate.common.firetasks.glue_tasks.CopyFilesFromCalcLoc" title="Permalink to this definition"></a></dt>
133147
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">fireworks.core.firework.FiretaskBase</span></code></p>
134-
<p>Based on CopyVaspOutputs but for general file copying. Note that “calc_locs”
148+
<p>Based on CopyVaspOutputs but for general file copying. Note “calc_locs”
135149
must be set in the fw_spec. Files are copied to the current folder.</p>
136150
<dl>
137151
<dt>Required params:</dt><dd><p>calc_loc: name of target fw to get location for within the calc_locs.</p>
@@ -141,17 +155,23 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
141155
‘$ALL_NO_SUBDIRS’ in filenames: similar to filenames is None
142156
‘$ALL’ in filenames: all files and subfolders copied, name_prepend</p>
143157
<blockquote>
144-
<div><p>and name_append cannot be set in this case</p>
158+
<div><p>and name_append cannot be set in this case.</p>
145159
</div></blockquote>
160+
<p>Accepts glob patterns.</p>
161+
</dd>
162+
<dt>name_prepend (str): string to prepend filenames, e.g. can be a </dt><dd><p>directory.</p>
146163
</dd>
147164
</dl>
148-
<p>name_prepend (str): string to prepend filenames, e.g. can be a directory.
149-
name_append (str): string to append to destination filenames.</p>
165+
<p>name_append (str): string to append to destination filenames.
166+
exclude_files (list): list of file names to be excluded. Accepts glob</p>
167+
<blockquote>
168+
<div><p>patterns.</p>
169+
</div></blockquote>
150170
</dd>
151171
</dl>
152172
<dl class="attribute">
153173
<dt id="atomate.common.firetasks.glue_tasks.CopyFilesFromCalcLoc.optional_params">
154-
<code class="sig-name descname">optional_params</code><em class="property"> = ['filenames', 'name_prepend', 'name_append']</em><a class="headerlink" href="#atomate.common.firetasks.glue_tasks.CopyFilesFromCalcLoc.optional_params" title="Permalink to this definition"></a></dt>
174+
<code class="sig-name descname">optional_params</code><em class="property"> = ['filenames', 'name_prepend', 'name_append', 'exclude_files']</em><a class="headerlink" href="#atomate.common.firetasks.glue_tasks.CopyFilesFromCalcLoc.optional_params" title="Permalink to this definition"></a></dt>
155175
<dd></dd></dl>
156176

157177
<dl class="attribute">
@@ -281,6 +301,48 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
281301

282302
</dd></dl>
283303

304+
<dl class="class">
305+
<dt id="atomate.common.firetasks.glue_tasks.GzipDir">
306+
<em class="property">class </em><code class="sig-prename descclassname">atomate.common.firetasks.glue_tasks.</code><code class="sig-name descname">GzipDir</code><span class="sig-paren">(</span><em class="sig-param">*args</em>, <em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#atomate.common.firetasks.glue_tasks.GzipDir" title="Permalink to this definition"></a></dt>
307+
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">fireworks.core.firework.FiretaskBase</span></code></p>
308+
<p>Task to gzip the current directory.</p>
309+
<dl class="attribute">
310+
<dt id="atomate.common.firetasks.glue_tasks.GzipDir.optional_params">
311+
<code class="sig-name descname">optional_params</code><em class="property"> = []</em><a class="headerlink" href="#atomate.common.firetasks.glue_tasks.GzipDir.optional_params" title="Permalink to this definition"></a></dt>
312+
<dd></dd></dl>
313+
314+
<dl class="attribute">
315+
<dt id="atomate.common.firetasks.glue_tasks.GzipDir.required_params">
316+
<code class="sig-name descname">required_params</code><em class="property"> = []</em><a class="headerlink" href="#atomate.common.firetasks.glue_tasks.GzipDir.required_params" title="Permalink to this definition"></a></dt>
317+
<dd></dd></dl>
318+
319+
<dl class="method">
320+
<dt id="atomate.common.firetasks.glue_tasks.GzipDir.run_task">
321+
<code class="sig-name descname">run_task</code><span class="sig-paren">(</span><em class="sig-param">fw_spec=None</em><span class="sig-paren">)</span><a class="headerlink" href="#atomate.common.firetasks.glue_tasks.GzipDir.run_task" title="Permalink to this definition"></a></dt>
322+
<dd><p>This method gets called when the Firetask is run. It can take in a
323+
Firework spec, perform some task using that data, and then return an
324+
output in the form of a FWAction.</p>
325+
<dl class="simple">
326+
<dt>Args:</dt><dd><dl class="simple">
327+
<dt>fw_spec (dict): A Firework spec. This comes from the master spec.</dt><dd><p>In addition, this spec contains a special “_fw_env” key that
328+
contains the env settings of the FWorker calling this method.
329+
This provides for abstracting out certain commands or
330+
settings. For example, “foo” may be named “foo1” in resource
331+
1 and “foo2” in resource 2. The FWorker env can specify {
332+
“foo”: “foo1”}, which maps an abstract variable “foo” to the
333+
relevant “foo1” or “foo2”. You can then write a task that
334+
uses fw_spec[“_fw_env”][“foo”] that will work across all
335+
these multiple resources.</p>
336+
</dd>
337+
</dl>
338+
</dd>
339+
<dt>Returns:</dt><dd><p>(FWAction)</p>
340+
</dd>
341+
</dl>
342+
</dd></dl>
343+
344+
</dd></dl>
345+
284346
<dl class="class">
285347
<dt id="atomate.common.firetasks.glue_tasks.PassCalcLocs">
286348
<em class="property">class </em><code class="sig-prename descclassname">atomate.common.firetasks.glue_tasks.</code><code class="sig-name descname">PassCalcLocs</code><span class="sig-paren">(</span><em class="sig-param">*args</em>, <em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#atomate.common.firetasks.glue_tasks.PassCalcLocs" title="Permalink to this definition"></a></dt>
@@ -658,7 +720,7 @@ <h3>Navigation</h3>
658720
<li class="right" >
659721
<a href="py-modindex.html" title="Python Module Index"
660722
>modules</a> |</li>
661-
<li class="nav-item nav-item-0"><a href="index.html">atomate 0.9.4 documentation</a> &#187;</li>
723+
<li class="nav-item nav-item-0"><a href="index.html">atomate 0.9.5 documentation</a> &#187;</li>
662724
</ul>
663725
</div>
664726

0 commit comments

Comments
 (0)