diff --git a/atomate/__init__.py b/atomate/__init__.py index 14ea08976..18c7cbfa9 100644 --- a/atomate/__init__.py +++ b/atomate/__init__.py @@ -1 +1 @@ -__version__ = "0.7.8" \ No newline at end of file +__version__ = "0.7.9" \ No newline at end of file diff --git a/docs/_sources/atomate.qchem.firetasks.rst.txt b/docs/_sources/atomate.qchem.firetasks.rst.txt index 0f376fa97..84ed088b2 100644 --- a/docs/_sources/atomate.qchem.firetasks.rst.txt +++ b/docs/_sources/atomate.qchem.firetasks.rst.txt @@ -11,6 +11,30 @@ Subpackages Submodules ---------- +atomate.qchem.firetasks.geo\_transformations module +--------------------------------------------------- + +.. automodule:: atomate.qchem.firetasks.geo_transformations + :members: + :undoc-members: + :show-inheritance: + +atomate.qchem.firetasks.parse\_outputs module +--------------------------------------------- + +.. automodule:: atomate.qchem.firetasks.parse_outputs + :members: + :undoc-members: + :show-inheritance: + +atomate.qchem.firetasks.run\_calc module +---------------------------------------- + +.. automodule:: atomate.qchem.firetasks.run_calc + :members: + :undoc-members: + :show-inheritance: + atomate.qchem.firetasks.write\_inputs module -------------------------------------------- diff --git a/docs/_sources/atomate.qchem.firetasks.tests.rst.txt b/docs/_sources/atomate.qchem.firetasks.tests.rst.txt index 15e9a2705..c032a886f 100644 --- a/docs/_sources/atomate.qchem.firetasks.tests.rst.txt +++ b/docs/_sources/atomate.qchem.firetasks.tests.rst.txt @@ -4,6 +4,22 @@ atomate.qchem.firetasks.tests package Submodules ---------- +atomate.qchem.firetasks.tests.test\_geo\_transformations module +--------------------------------------------------------------- + +.. automodule:: atomate.qchem.firetasks.tests.test_geo_transformations + :members: + :undoc-members: + :show-inheritance: + +atomate.qchem.firetasks.tests.test\_run\_calc module +---------------------------------------------------- + +.. automodule:: atomate.qchem.firetasks.tests.test_run_calc + :members: + :undoc-members: + :show-inheritance: + atomate.qchem.firetasks.tests.test\_write\_inputs module -------------------------------------------------------- diff --git a/docs/_sources/atomate.qchem.fireworks.rst.txt b/docs/_sources/atomate.qchem.fireworks.rst.txt new file mode 100644 index 000000000..fa2bf9b1a --- /dev/null +++ b/docs/_sources/atomate.qchem.fireworks.rst.txt @@ -0,0 +1,22 @@ +atomate.qchem.fireworks package +=============================== + +Submodules +---------- + +atomate.qchem.fireworks.core module +----------------------------------- + +.. automodule:: atomate.qchem.fireworks.core + :members: + :undoc-members: + :show-inheritance: + + +Module contents +--------------- + +.. automodule:: atomate.qchem.fireworks + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/_sources/atomate.qchem.rst.txt b/docs/_sources/atomate.qchem.rst.txt index f862e9743..ccd529d7e 100644 --- a/docs/_sources/atomate.qchem.rst.txt +++ b/docs/_sources/atomate.qchem.rst.txt @@ -7,6 +7,36 @@ Subpackages .. toctree:: atomate.qchem.firetasks + atomate.qchem.fireworks + atomate.qchem.workflows + +Submodules +---------- + +atomate.qchem.database module +----------------------------- + +.. automodule:: atomate.qchem.database + :members: + :undoc-members: + :show-inheritance: + +atomate.qchem.drones module +--------------------------- + +.. automodule:: atomate.qchem.drones + :members: + :undoc-members: + :show-inheritance: + +atomate.qchem.powerups module +----------------------------- + +.. automodule:: atomate.qchem.powerups + :members: + :undoc-members: + :show-inheritance: + Module contents --------------- diff --git a/docs/_sources/atomate.qchem.workflows.base.rst.txt b/docs/_sources/atomate.qchem.workflows.base.rst.txt new file mode 100644 index 000000000..44e26a430 --- /dev/null +++ b/docs/_sources/atomate.qchem.workflows.base.rst.txt @@ -0,0 +1,30 @@ +atomate.qchem.workflows.base package +==================================== + +Submodules +---------- + +atomate.qchem.workflows.base.double\_FF\_opt module +--------------------------------------------------- + +.. automodule:: atomate.qchem.workflows.base.double_FF_opt + :members: + :undoc-members: + :show-inheritance: + +atomate.qchem.workflows.base.torsion\_potential module +------------------------------------------------------ + +.. automodule:: atomate.qchem.workflows.base.torsion_potential + :members: + :undoc-members: + :show-inheritance: + + +Module contents +--------------- + +.. automodule:: atomate.qchem.workflows.base + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/_sources/atomate.qchem.workflows.rst.txt b/docs/_sources/atomate.qchem.workflows.rst.txt new file mode 100644 index 000000000..cabb11e36 --- /dev/null +++ b/docs/_sources/atomate.qchem.workflows.rst.txt @@ -0,0 +1,18 @@ +atomate.qchem.workflows package +=============================== + +Subpackages +----------- + +.. toctree:: + + atomate.qchem.workflows.base + atomate.qchem.workflows.tests + +Module contents +--------------- + +.. automodule:: atomate.qchem.workflows + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/_sources/atomate.qchem.workflows.tests.rst.txt b/docs/_sources/atomate.qchem.workflows.tests.rst.txt new file mode 100644 index 000000000..c8ee5f7b5 --- /dev/null +++ b/docs/_sources/atomate.qchem.workflows.tests.rst.txt @@ -0,0 +1,38 @@ +atomate.qchem.workflows.tests package +===================================== + +Submodules +---------- + +atomate.qchem.workflows.tests.test\_double\_FF\_opt module +---------------------------------------------------------- + +.. automodule:: atomate.qchem.workflows.tests.test_double_FF_opt + :members: + :undoc-members: + :show-inheritance: + +atomate.qchem.workflows.tests.test\_parse\_pass\_write module +------------------------------------------------------------- + +.. automodule:: atomate.qchem.workflows.tests.test_parse_pass_write + :members: + :undoc-members: + :show-inheritance: + +atomate.qchem.workflows.tests.test\_torsion\_potential module +------------------------------------------------------------- + +.. automodule:: atomate.qchem.workflows.tests.test_torsion_potential + :members: + :undoc-members: + :show-inheritance: + + +Module contents +--------------- + +.. automodule:: atomate.qchem.workflows.tests + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/_sources/changelog.rst.txt b/docs/_sources/changelog.rst.txt index e24d35bec..4d1548f2a 100644 --- a/docs/_sources/changelog.rst.txt +++ b/docs/_sources/changelog.rst.txt @@ -2,6 +2,12 @@ atomate Changelog ================= +**v0.7.9** + +* Overhaul and update of QChem in atomate (B. Wood, S. Blau) +* Fix integration tests (A. Dunn) +* Stop officially supporting Py2 + **v0.7.8** * some QChem tasks and workflows (B. Wood) diff --git a/docs/_sources/contributors.rst.txt b/docs/_sources/contributors.rst.txt index d00461c16..362a60bc2 100644 --- a/docs/_sources/contributors.rst.txt +++ b/docs/_sources/contributors.rst.txt @@ -6,10 +6,10 @@ atomate development is led by the Hacking Materials research group led by Anubha Contributions are provided by: -* Kiran Mathew, Shyam Dwaraknath, Joey Montoya, Murat Aykol, and Patrick Huck through the research group of Prof. Kristin Persson at UC Berkeley. +* Kiran Mathew, Shyam Dwaraknath, Joey Montoya, Murat Aykol, Patrick Huck, Brandon Wood, and Sam Blau through the research group of Prof. Kristin Persson at UC Berkeley. * Hanmei Tang, Prof. Shyue Ping Ong, and the Materials Virtual Lab research group at UC San Diego. * Brandon Bocklund, who led the atomate documentation effort, through the research group of Prof. Zi-Kiu Liu at Penn State. -* Alireza Faghaninia through the research group of A. Jain at LBNL. +* Alireza Faghaninia and A. Dunn through the research group of A. Jain at LBNL. * Tess Smidt through the research group of Prof. Jeff Neaton at UC Berkeley. * Danny Broberg through the research group of Prof. Mark Asta at UC Berkeley. * External contributors: specter119, M. Dias Costa diff --git a/docs/_sources/installation.rst.txt b/docs/_sources/installation.rst.txt index 3dc61b5d6..6d5e813d4 100644 --- a/docs/_sources/installation.rst.txt +++ b/docs/_sources/installation.rst.txt @@ -125,8 +125,10 @@ Installing atomate includes installation of codes, configuration files, and vari .. _Create a Python virtual environment: -Create a Python virtual environment -=================================== +Create a Python 3 virtual environment +===================================== + +.. note:: Make sure to create Python 3 environment (ideally Python 3.6 and higher) as recent versions of atomate only support Py3 and higher. We highly recommended that you organize your installation of the atomate and the other Python codes using a virtual environment (e.g. ``virtualenv`` or similar tool such as anaconda). Ultimately, whether you want to use a virtual environment is optional and you don't have to use one if you know what you are doing. @@ -175,7 +177,7 @@ To set up your virtual environment: Install Python packages ======================= -You have successfully set up an environment in which to install atomate! +You have successfully set up an Python 3 environment in which to install atomate! Next, we will download and install all of the atomate-related Python packages. You can install these packages automatically or in "development mode". Development mode installation makes it easier to view and modify the source code to your needs, but requires a few more steps to set up and maintain. diff --git a/docs/_static/documentation_options.js b/docs/_static/documentation_options.js index 3dcadde73..30258437c 100644 --- a/docs/_static/documentation_options.js +++ b/docs/_static/documentation_options.js @@ -1,6 +1,6 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT: '', - VERSION: '0.7.8', + VERSION: '0.7.9', LANGUAGE: 'None', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', diff --git a/docs/atomate.common.firetasks.html b/docs/atomate.common.firetasks.html index c4e5e4052..beaecccae 100644 --- a/docs/atomate.common.firetasks.html +++ b/docs/atomate.common.firetasks.html @@ -6,7 +6,7 @@ - atomate.common.firetasks package — atomate 0.7.8 documentation + atomate.common.firetasks package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

Navigation

  • modules |
  • - + @@ -677,7 +677,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.common.firetasks.tests.html b/docs/atomate.common.firetasks.tests.html index 10235b131..438ef5425 100644 --- a/docs/atomate.common.firetasks.tests.html +++ b/docs/atomate.common.firetasks.tests.html @@ -6,7 +6,7 @@ - atomate.common.firetasks.tests package — atomate 0.7.8 documentation + atomate.common.firetasks.tests package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -211,7 +211,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.common.html b/docs/atomate.common.html index 2da2a378a..be0d8abd4 100644 --- a/docs/atomate.common.html +++ b/docs/atomate.common.html @@ -6,7 +6,7 @@ - atomate.common package — atomate 0.7.8 documentation + atomate.common package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -116,7 +116,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.feff.firetasks.html b/docs/atomate.feff.firetasks.html index 6757b0657..9848a0d84 100644 --- a/docs/atomate.feff.firetasks.html +++ b/docs/atomate.feff.firetasks.html @@ -6,7 +6,7 @@ - atomate.feff.firetasks package — atomate 0.7.8 documentation + atomate.feff.firetasks package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -452,7 +452,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.feff.firetasks.tests.html b/docs/atomate.feff.firetasks.tests.html index e220a283c..519355ec3 100644 --- a/docs/atomate.feff.firetasks.tests.html +++ b/docs/atomate.feff.firetasks.tests.html @@ -6,7 +6,7 @@ - atomate.feff.firetasks.tests package — atomate 0.7.8 documentation + atomate.feff.firetasks.tests package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -121,7 +121,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.feff.fireworks.html b/docs/atomate.feff.fireworks.html index 052fdfadf..6c844bfb2 100644 --- a/docs/atomate.feff.fireworks.html +++ b/docs/atomate.feff.fireworks.html @@ -6,7 +6,7 @@ - atomate.feff.fireworks package — atomate 0.7.8 documentation + atomate.feff.fireworks package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -212,7 +212,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.feff.fireworks.tests.html b/docs/atomate.feff.fireworks.tests.html index 1a849bae0..8a35e9497 100644 --- a/docs/atomate.feff.fireworks.tests.html +++ b/docs/atomate.feff.fireworks.tests.html @@ -6,7 +6,7 @@ - atomate.feff.fireworks.tests package — atomate 0.7.8 documentation + atomate.feff.fireworks.tests package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -116,7 +116,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.feff.html b/docs/atomate.feff.html index d03daf9bd..8f1d2b5fa 100644 --- a/docs/atomate.feff.html +++ b/docs/atomate.feff.html @@ -6,7 +6,7 @@ - atomate.feff package — atomate 0.7.8 documentation + atomate.feff package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -185,7 +185,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.feff.workflows.html b/docs/atomate.feff.workflows.html index 0eeca04cc..fbe1824aa 100644 --- a/docs/atomate.feff.workflows.html +++ b/docs/atomate.feff.workflows.html @@ -6,7 +6,7 @@ - atomate.feff.workflows package — atomate 0.7.8 documentation + atomate.feff.workflows package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -251,7 +251,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.feff.workflows.tests.html b/docs/atomate.feff.workflows.tests.html index 324d39153..681e434b6 100644 --- a/docs/atomate.feff.workflows.tests.html +++ b/docs/atomate.feff.workflows.tests.html @@ -6,7 +6,7 @@ - atomate.feff.workflows.tests package — atomate 0.7.8 documentation + atomate.feff.workflows.tests package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -189,7 +189,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.html b/docs/atomate.html index f9db9c4e6..830574983 100644 --- a/docs/atomate.html +++ b/docs/atomate.html @@ -6,7 +6,7 @@ - atomate package — atomate 0.7.8 documentation + atomate package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -166,6 +166,8 @@

    SubpackagesSubpackages +
  • atomate.qchem.fireworks package
  • +
  • atomate.qchem.workflows package +
  • + + +
  • Submodules
  • +
  • atomate.qchem.database module
  • +
  • atomate.qchem.drones module
  • +
  • atomate.qchem.powerups module
  • Module contents
  • @@ -381,7 +418,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.lammps.firetasks.html b/docs/atomate.lammps.firetasks.html index dcb4005ce..09670e07c 100644 --- a/docs/atomate.lammps.firetasks.html +++ b/docs/atomate.lammps.firetasks.html @@ -6,7 +6,7 @@ - atomate.lammps.firetasks package — atomate 0.7.8 documentation + atomate.lammps.firetasks package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -471,7 +471,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.lammps.fireworks.html b/docs/atomate.lammps.fireworks.html index 903c9b564..c2ff48614 100644 --- a/docs/atomate.lammps.fireworks.html +++ b/docs/atomate.lammps.fireworks.html @@ -6,7 +6,7 @@ - atomate.lammps.fireworks package — atomate 0.7.8 documentation + atomate.lammps.fireworks package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -197,7 +197,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.lammps.html b/docs/atomate.lammps.html index e786cc774..3f5cefd90 100644 --- a/docs/atomate.lammps.html +++ b/docs/atomate.lammps.html @@ -6,7 +6,7 @@ - atomate.lammps package — atomate 0.7.8 documentation + atomate.lammps package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -198,7 +198,7 @@

    Submodules
    -schema = {'root': {'output', 'dir_name', 'schema', 'input', 'last_updated', 'state', 'completed_at'}}
    +schema = {'root': {'completed_at', 'input', 'schema', 'dir_name', 'state', 'last_updated', 'output'}}
    @@ -268,7 +268,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.lammps.workflows.html b/docs/atomate.lammps.workflows.html index 06a7ca5aa..15b2523e6 100644 --- a/docs/atomate.lammps.workflows.html +++ b/docs/atomate.lammps.workflows.html @@ -6,7 +6,7 @@ - atomate.lammps.workflows package — atomate 0.7.8 documentation + atomate.lammps.workflows package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -161,7 +161,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.qchem.firetasks.html b/docs/atomate.qchem.firetasks.html index eedd92f5a..e88bfb9b0 100644 --- a/docs/atomate.qchem.firetasks.html +++ b/docs/atomate.qchem.firetasks.html @@ -6,7 +6,7 @@ - atomate.qchem.firetasks package — atomate 0.7.8 documentation + atomate.qchem.firetasks package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -45,6 +45,8 @@

    Subpackagesatomate.qchem.firetasks.tests package @@ -54,9 +56,403 @@

    Subpackages

    Submodules

    + +
    +

    atomate.qchem.firetasks.geo_transformations module

    +
    +
    +class atomate.qchem.firetasks.geo_transformations.RotateTorsion(*args, **kwargs)
    +

    Bases: fireworks.core.firework.FiretaskBase

    +

    Writes QChem Input files from input sets. A dictionary is passed to WriteInputFromIOSet where +parameters are given as keys in the dictionary.

    +
    +
    required_params:
    +
    atom_indexes (list): This should be a list of the pymatgen molecule indexes of the four atoms +in torsion angle to be rotated +angle (float): This is the desired torsion angle in degrees (the value should be between -180 and 180)
    +
    optional_params:
    +
    molecule (Molecule): Specify a pymatgen molecule to be rotated. A molecule is optional because molecules can +be inherited from previous fireworks
    +
    +
    +
    +optional_params = ['molecule']
    +
    + +
    +
    +required_params = ['atom_indexes', 'angle']
    +
    + +
    +
    +run_task(fw_spec)
    +

    This method gets called when the Firetask is run. It can take in a +Firework spec, perform some task using that data, and then return an +output in the form of a FWAction.

    +
    +
    Args:
    +
    +
    fw_spec (dict): A Firework spec. This comes from the master spec.
    +
    In addition, this spec contains a special “_fw_env” key that +contains the env settings of the FWorker calling this method. +This provides for abstracting out certain commands or +settings. For example, “foo” may be named “foo1” in resource +1 and “foo2” in resource 2. The FWorker env can specify { +“foo”: “foo1”}, which maps an abstract variable “foo” to the +relevant “foo1” or “foo2”. You can then write a task that +uses fw_spec[“_fw_env”][“foo”] that will work across all +these multiple resources.
    +
    +
    +
    Returns:
    +
    (FWAction)
    +
    +
    + +
    + +
    +
    +

    atomate.qchem.firetasks.parse_outputs module

    +
    +
    +class atomate.qchem.firetasks.parse_outputs.QChemToDb(*args, **kwargs)
    +

    Bases: fireworks.core.firework.FiretaskBase

    +

    Enter a QChem run into the database. Uses current directory unless you +specify calc_dir or calc_loc.

    +
    +
    Optional params:
    +
    +
    calc_dir (str): path to dir (on current filesystem) that contains QChem
    +
    input and output files. Default: use current working directory.
    +
    calc_loc (str OR bool): if True will set most recent calc_loc. If str
    +
    search for the most recent calc_loc with the matching name
    +
    +

    input_file (str): name of the QChem input file +output_file (str): name of the QChem output file +additional_fields (dict): dict of additional fields to add +db_file (str): path to file containing the database credentials.

    +
    +
    Supports env_chk. Default: write data to JSON file.
    +
    +
    fw_spec_field (str): if set, will update the task doc with the contents
    +
    of this key in the fw_spec.
    +
    multirun (bool): Whether the job to parse includes multiple
    +
    calculations in one input / output pair.
    +
    +
    +
    +
    +
    +optional_params = ['calc_dir', 'calc_loc', 'input_file', 'output_file', 'additional_fields', 'db_file', 'fw_spec_field', 'multirun']
    +
    + +
    +
    +run_task(fw_spec)
    +

    This method gets called when the Firetask is run. It can take in a +Firework spec, perform some task using that data, and then return an +output in the form of a FWAction.

    +
    +
    Args:
    +
    +
    fw_spec (dict): A Firework spec. This comes from the master spec.
    +
    In addition, this spec contains a special “_fw_env” key that +contains the env settings of the FWorker calling this method. +This provides for abstracting out certain commands or +settings. For example, “foo” may be named “foo1” in resource +1 and “foo2” in resource 2. The FWorker env can specify { +“foo”: “foo1”}, which maps an abstract variable “foo” to the +relevant “foo1” or “foo2”. You can then write a task that +uses fw_spec[“_fw_env”][“foo”] that will work across all +these multiple resources.
    +
    +
    +
    Returns:
    +
    (FWAction)
    +
    +
    + +
    + +
    +
    +

    atomate.qchem.firetasks.run_calc module

    +
    +
    +class atomate.qchem.firetasks.run_calc.RunNoQChem(*args, **kwargs)
    +

    Bases: fireworks.core.firework.FiretaskBase

    +

    Do NOT run QChem. Do nothing.

    +
    +
    +run_task(fw_spec)
    +

    This method gets called when the Firetask is run. It can take in a +Firework spec, perform some task using that data, and then return an +output in the form of a FWAction.

    +
    +
    Args:
    +
    +
    fw_spec (dict): A Firework spec. This comes from the master spec.
    +
    In addition, this spec contains a special “_fw_env” key that +contains the env settings of the FWorker calling this method. +This provides for abstracting out certain commands or +settings. For example, “foo” may be named “foo1” in resource +1 and “foo2” in resource 2. The FWorker env can specify { +“foo”: “foo1”}, which maps an abstract variable “foo” to the +relevant “foo1” or “foo2”. You can then write a task that +uses fw_spec[“_fw_env”][“foo”] that will work across all +these multiple resources.
    +
    +
    +
    Returns:
    +
    (FWAction)
    +
    +
    + +
    + +
    +
    +class atomate.qchem.firetasks.run_calc.RunQChemCustodian(*args, **kwargs)
    +

    Bases: fireworks.core.firework.FiretaskBase

    +

    Run QChem using custodian “on rails”, i.e. in a simple way that supports most common options.

    +
    +
    Required params:
    +
    +
    qchem_cmd (str): the name of the full executable for running QChem. Note that this is
    +
    explicitly different from qchem_cmd in RunQChemDirect because it does +not include any flags and should only be the call to the executable. +Supports env_chk.
    +
    +
    +
    Optional params:
    +

    multimode (str): Parallelization scheme, either openmp or mpi. +input_file (str): Name of the QChem input file. +output_file (str): Name of the QChem output file. +max_cores (int): Maximum number of cores to parallelize over. Defaults to 32. +qclog_file (str): Name of the file to redirect the standard output to. None means

    +
    +
    not to record the standard output. Defaults to None.
    +

    suffix (str): String to append to the file in postprocess. +scratch_dir (str): QCSCRATCH directory. Defaults to “/dev/shm/qcscratch/”. +save_scratch (bool): Whether to save scratch directory contents. Defaults to False. +save_name (str): Name of the saved scratch directory. Defaults to “default_save_name”. +max_errors (int): Maximum # of errors to fix before giving up (default=5) +job_type (str): Choose from “normal” (default) and “opt_with_frequency_flattener” +handler_group (str): Group of handlers to use. See handler_groups dict in the code

    +
    +
    for the groups and complete list of handlers in each group.
    +

    gzip_output (bool): gzip output (default=T)

    +

    * Just for opt_with_frequency_flattener * +max_iterations (int): Number of perturbation -> optimization -> frequency iterations

    +
    +
    to perform. Defaults to 10.
    +
    +
    max_molecule_perturb_scale (float): The maximum scaled perturbation that can be
    +
    applied to the molecule. Defaults to 0.3.
    +
    reversed_direction (bool): Whether to reverse the direction of the vibrational
    +
    frequency vectors. Defaults to False.
    +
    +
    +
    +
    +
    +optional_params = ['multimode', 'input_file', 'output_file', 'max_cores', 'qclog_file', 'suffix', 'scratch_dir', 'save_scratch', 'save_name', 'max_errors', 'max_iterations', 'max_molecule_perturb_scale', 'reversed_direction', 'job_type', 'handler_group', 'gzipped_output']
    +
    + +
    +
    +required_params = ['qchem_cmd']
    +
    + +
    +
    +run_task(fw_spec)
    +

    This method gets called when the Firetask is run. It can take in a +Firework spec, perform some task using that data, and then return an +output in the form of a FWAction.

    +
    +
    Args:
    +
    +
    fw_spec (dict): A Firework spec. This comes from the master spec.
    +
    In addition, this spec contains a special “_fw_env” key that +contains the env settings of the FWorker calling this method. +This provides for abstracting out certain commands or +settings. For example, “foo” may be named “foo1” in resource +1 and “foo2” in resource 2. The FWorker env can specify { +“foo”: “foo1”}, which maps an abstract variable “foo” to the +relevant “foo1” or “foo2”. You can then write a task that +uses fw_spec[“_fw_env”][“foo”] that will work across all +these multiple resources.
    +
    +
    +
    Returns:
    +
    (FWAction)
    +
    +
    + +
    + +
    +
    +class atomate.qchem.firetasks.run_calc.RunQChemDirect(*args, **kwargs)
    +

    Bases: fireworks.core.firework.FiretaskBase

    +

    Execute a command directly (no custodian).

    +
    +
    Required params:
    +
    +
    qchem_cmd (str): The name of the full command line call to run. This should include any
    +
    flags for parallelization, saving scratch, etc. Supports env_chk.
    +
    +
    +
    Optional params:
    +
    scratch_dir (str): Path to the scratch directory. Defaults to “/dev/shm/qcscratch/”.
    +
    +
    +
    +optional_params = ['scratch_dir']
    +
    + +
    +
    +required_params = ['qchem_cmd']
    +
    + +
    +
    +run_task(fw_spec)
    +

    This method gets called when the Firetask is run. It can take in a +Firework spec, perform some task using that data, and then return an +output in the form of a FWAction.

    +
    +
    Args:
    +
    +
    fw_spec (dict): A Firework spec. This comes from the master spec.
    +
    In addition, this spec contains a special “_fw_env” key that +contains the env settings of the FWorker calling this method. +This provides for abstracting out certain commands or +settings. For example, “foo” may be named “foo1” in resource +1 and “foo2” in resource 2. The FWorker env can specify { +“foo”: “foo1”}, which maps an abstract variable “foo” to the +relevant “foo1” or “foo2”. You can then write a task that +uses fw_spec[“_fw_env”][“foo”] that will work across all +these multiple resources.
    +
    +
    +
    Returns:
    +
    (FWAction)
    +
    +
    + +
    + +
    +
    +class atomate.qchem.firetasks.run_calc.RunQChemFake(*args, **kwargs)
    +

    Bases: fireworks.core.firework.FiretaskBase

    +

    QChem Emulator

    +
    +
    Required params:
    +
    +
    ref_dir (string): Path to reference qchem run directory with input file in the folder
    +
    named “mol.qin” and output file in the folder named “mol.qout”.
    +
    +
    +
    +
    +
    +required_params = ['ref_dir']
    +
    + +
    +
    +run_task(fw_spec)
    +

    This method gets called when the Firetask is run. It can take in a +Firework spec, perform some task using that data, and then return an +output in the form of a FWAction.

    +
    +
    Args:
    +
    +
    fw_spec (dict): A Firework spec. This comes from the master spec.
    +
    In addition, this spec contains a special “_fw_env” key that +contains the env settings of the FWorker calling this method. +This provides for abstracting out certain commands or +settings. For example, “foo” may be named “foo1” in resource +1 and “foo2” in resource 2. The FWorker env can specify { +“foo”: “foo1”}, which maps an abstract variable “foo” to the +relevant “foo1” or “foo2”. You can then write a task that +uses fw_spec[“_fw_env”][“foo”] that will work across all +these multiple resources.
    +
    +
    +
    Returns:
    +
    (FWAction)
    +
    +
    + +
    +

    atomate.qchem.firetasks.write_inputs module

    +
    +
    +class atomate.qchem.firetasks.write_inputs.WriteCustomInput(*args, **kwargs)
    +

    Bases: fireworks.core.firework.FiretaskBase

    +

    Writes QChem Input files from custom input sets. This firetask gives the maximum flexibility when trying +to define custom input parameters.

    +
    +
    required_params:
    +
    qchem_input_custom (dict): Define custom input parameters to generate a qchem input file. +This should be a dictionary of dictionaries (i.e. {{“rem”: {“method”: “b3lyp”, basis”: “6-31*G++”, …} +Each QChem section should be a key with its own dictionary as the value. For more details on how +the input should be structured look at pymatgen.io.qchem_io.inputs +* *
    +
    optional_params:
    +
    molecule (Molecule): +input_file (str): Name of the QChem input file. Defaults to mol.qin +write_to_dir (str): Path of the directory where the QChem input file will be written, +the default is to write to the current working directory
    +
    +
    +
    +optional_params = ['molecule', 'opt', 'pcm', 'solvent', 'input_file', 'write_to_dir']
    +
    + +
    +
    +required_params = ['rem']
    +
    + +
    +
    +run_task(fw_spec)
    +

    This method gets called when the Firetask is run. It can take in a +Firework spec, perform some task using that data, and then return an +output in the form of a FWAction.

    +
    +
    Args:
    +
    +
    fw_spec (dict): A Firework spec. This comes from the master spec.
    +
    In addition, this spec contains a special “_fw_env” key that +contains the env settings of the FWorker calling this method. +This provides for abstracting out certain commands or +settings. For example, “foo” may be named “foo1” in resource +1 and “foo2” in resource 2. The FWorker env can specify { +“foo”: “foo1”}, which maps an abstract variable “foo” to the +relevant “foo1” or “foo2”. You can then write a task that +uses fw_spec[“_fw_env”][“foo”] that will work across all +these multiple resources.
    +
    +
    +
    Returns:
    +
    (FWAction)
    +
    +
    + +
    +
    class atomate.qchem.firetasks.write_inputs.WriteInput(*args, **kwargs)
    @@ -65,7 +461,16 @@

    Submodules
    required_params:
    qc_input (QCInput): QCInput object
    +
    optional_params:
    +
    input_file (str): Name of the QChem input file. Defaults to mol.qin +write_to_dir (str): Path of the directory where the QChem input file will be written, +the default is to write to the current working directory

    +
    +
    +optional_params = ['input_file', 'write_to_dir']
    +
    +
    required_params = ['qc_input']
    @@ -107,24 +512,28 @@

    Submodules
    required_params:
    -
    molecule (Molecule): molecule -qc_input_set (QChemDictSet or str): Either a QChemDictSet object or a string -name for the QChem input set (e.g., “OptSet”).
    +
    qc_input_set (QChemDictSet or str): Either a QChemDictSet object or a string +name for the QChem input set (e.g., “OptSet”). * Note that if the molecule is to be inherited through +fw_spec qc_input_set must be a string name for the QChem input set. *
    optional_params:
    qchem_input_params (dict): When using a string name for QChem input set, use this as a dict to specify kwargs for instantiating the input set parameters. For example, if you want to change the DFT_rung, you should provide: {“DFT_rung”: …}. This setting is ignored if you provide the full object representation of a QChemDictSet -rather than a String.
    +rather than a String. +molecule (Molecule): +input_file (str): Name of the QChem input file. Defaults to mol.qin +write_to_dir (str): Path of the directory where the QChem input file will be written, +the default is to write to the current working directory

    -optional_params = ['qchem_input_params']
    +optional_params = ['molecule', 'qchem_input_params', 'input_file', 'write_to_dir']
    -required_params = ['molecule', 'qchem_input_set']
    +required_params = ['qchem_input_set']
    @@ -172,6 +581,9 @@

    Table Of Contents

  • atomate.qchem.firetasks package @@ -210,7 +622,7 @@

    Navigation

  • modules |
  • - +
    diff --git a/docs/atomate.qchem.firetasks.tests.html b/docs/atomate.qchem.firetasks.tests.html index b53f01299..abec7de66 100644 --- a/docs/atomate.qchem.firetasks.tests.html +++ b/docs/atomate.qchem.firetasks.tests.html @@ -6,7 +6,7 @@ - atomate.qchem.firetasks.tests package — atomate 0.7.8 documentation + atomate.qchem.firetasks.tests package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -41,6 +41,135 @@

    Navigation

    atomate.qchem.firetasks.tests package

    Submodules

    +
    +
    +

    atomate.qchem.firetasks.tests.test_geo_transformations module

    +
    +
    +class atomate.qchem.firetasks.tests.test_geo_transformations.TestGeoTransformations(methodName='runTest')
    +

    Bases: atomate.utils.testing.AtomateTest

    +
    +
    +setUp(lpad=False)
    +

    Create scratch directory(removes the old one if there is one) and change to it. +Also initialize launchpad.

    +
    + +
    +
    +classmethod setUpClass()
    +

    Hook method for setting up class fixture before running tests in the class.

    +
    + +
    +
    +tearDown()
    +

    Remove the scratch directory and teardown the test db.

    +
    + +
    +
    +test_rotate_torsion()
    +
    + +
    + +
    +
    +

    atomate.qchem.firetasks.tests.test_run_calc module

    +
    +
    +class atomate.qchem.firetasks.tests.test_run_calc.TestFakeRunQChem(methodName='runTest')
    +

    Bases: atomate.utils.testing.AtomateTest

    +
    +
    +setUp(lpad=False)
    +

    Create scratch directory(removes the old one if there is one) and change to it. +Also initialize launchpad.

    +
    + +
    +
    +tearDown()
    +

    Remove the scratch directory and teardown the test db.

    +
    + +
    +
    +test_RunQChemFake()
    +
    + +
    + +
    +
    +class atomate.qchem.firetasks.tests.test_run_calc.TestRunCalcQChem(methodName='runTest')
    +

    Bases: atomate.utils.testing.AtomateTest

    +
    +
    +setUp(lpad=False)
    +

    Create scratch directory(removes the old one if there is one) and change to it. +Also initialize launchpad.

    +
    + +
    +
    +tearDown()
    +

    Remove the scratch directory and teardown the test db.

    +
    + +
    +
    +test_RunQChemCustodian_FF_basic_defaults()
    +
    + +
    +
    +test_RunQChemCustodian_FF_basic_not_defaults()
    +
    + +
    +
    +test_RunQChemCustodian_FF_using_fw_spec_defaults()
    +
    + +
    +
    +test_RunQChemCustodian_FF_using_fw_spec_not_defaults()
    +
    + +
    +
    +test_RunQChemCustodian_basic_defaults()
    +
    + +
    +
    +test_RunQChemCustodian_basic_not_defaults()
    +
    + +
    +
    +test_RunQChemCustodian_using_fw_spec_defaults()
    +
    + +
    +
    +test_RunQChemCustodian_using_fw_spec_not_defaults()
    +
    + +
    +
    +test_RunQChemDirect_basic()
    +
    + +
    +
    +test_RunQChemDirect_with_fw_spec()
    +
    + +
    +

    atomate.qchem.firetasks.tests.test_write_inputs module

    @@ -67,6 +196,11 @@

    Submodules +
    +test_write_custom_input()
    +
    +
    test_write_input()
    @@ -77,6 +211,21 @@

    Submodulestest_write_input_from_io_set()

    +
    +
    +test_write_input_from_io_set_diff_mol()
    +
    + +
    +
    +test_write_input_from_io_set_diff_mol_pcm()
    +
    + +
    +
    +test_write_input_from_io_set_write_dir()
    +
    +

    @@ -95,6 +244,8 @@

    Table Of Contents

    diff --git a/docs/atomate.qchem.fireworks.html b/docs/atomate.qchem.fireworks.html new file mode 100644 index 000000000..cd9807d62 --- /dev/null +++ b/docs/atomate.qchem.fireworks.html @@ -0,0 +1,180 @@ + + + + + + + + atomate.qchem.fireworks package — atomate 0.7.9 documentation + + + + + + + + + + + + + + +
    +
    +
    +
    + +
    +

    atomate.qchem.fireworks package

    +
    +

    Submodules

    +
    +
    +

    atomate.qchem.fireworks.core module

    +
    +
    +class atomate.qchem.fireworks.core.FrequencyFlatteningOptimizeFW(molecule=None, name='frequency flattening structure optimization', qchem_cmd='qchem', multimode='openmp', input_file='mol.qin', output_file='mol.qout', max_cores=32, qchem_input_params=None, max_iterations=10, max_molecule_perturb_scale=0.3, reversed_direction=False, db_file=None, parents=None, **kwargs)
    +

    Bases: fireworks.core.firework.Firework

    +
    +
    +__init__(molecule=None, name='frequency flattening structure optimization', qchem_cmd='qchem', multimode='openmp', input_file='mol.qin', output_file='mol.qout', max_cores=32, qchem_input_params=None, max_iterations=10, max_molecule_perturb_scale=0.3, reversed_direction=False, db_file=None, parents=None, **kwargs)
    +

    Iteratively optimize the given structure and flatten imaginary frequencies to ensure that +the resulting structure is a true minima and not a saddle point.

    +
    +
    Args:
    +

    molecule (Molecule): Input molecule. +name (str): Name for the Firework. +qchem_cmd (str): Command to run QChem. Defaults to qchem. +multimode (str): Parallelization scheme, either openmp or mpi. +input_file (str): Name of the QChem input file. Defaults to mol.qin. +output_file (str): Name of the QChem output file. Defaults to mol.qout. +max_cores (int): Maximum number of cores to parallelize over. Defaults to 32. +qchem_input_params (dict): Specify kwargs for instantiating the input set parameters.

    +
    +
    For example, if you want to change the DFT_rung, you should +provide: {“DFT_rung”: …}. Defaults to None.
    +
    +
    max_iterations (int): Number of perturbation -> optimization -> frequency
    +
    iterations to perform. Defaults to 10.
    +
    max_molecule_perturb_scale (float): The maximum scaled perturbation that can be
    +
    applied to the molecule. Defaults to 0.3.
    +
    reversed_direction (bool): Whether to reverse the direction of the vibrational
    +
    frequency vectors. Defaults to False.
    +
    +

    db_file (str): Path to file specifying db credentials to place output parsing. +parents ([Firework]): Parents of this particular Firework. +**kwargs: Other kwargs that are passed to Firework.__init__.

    +
    +
    +
    + +
    + +
    +
    +class atomate.qchem.fireworks.core.OptimizeFW(molecule=None, name='structure optimization', qchem_cmd='qchem', multimode='openmp', input_file='mol.qin', output_file='mol.qout', max_cores=32, qchem_input_params=None, db_file=None, parents=None, **kwargs)
    +

    Bases: fireworks.core.firework.Firework

    +
    +
    +__init__(molecule=None, name='structure optimization', qchem_cmd='qchem', multimode='openmp', input_file='mol.qin', output_file='mol.qout', max_cores=32, qchem_input_params=None, db_file=None, parents=None, **kwargs)
    +

    Optimize the given structure.

    +
    +
    Args:
    +

    molecule (Molecule): Input molecule. +name (str): Name for the Firework. +qchem_cmd (str): Command to run QChem. Defaults to qchem. +multimode (str): Parallelization scheme, either openmp or mpi. +input_file (str): Name of the QChem input file. Defaults to mol.qin. +output_file (str): Name of the QChem output file. Defaults to mol.qout. +max_cores (int): Maximum number of cores to parallelize over. Defaults to 32. +qchem_input_params (dict): Specify kwargs for instantiating the input set parameters.

    +
    +
    For example, if you want to change the DFT_rung, you should +provide: {“DFT_rung”: …}. Defaults to None.
    +

    db_file (str): Path to file specifying db credentials to place output parsing. +parents ([Firework]): Parents of this particular Firework. +**kwargs: Other kwargs that are passed to Firework.__init__.

    +
    +
    +
    + +
    + +
    +
    +

    Module contents

    +
    +
    + + +
    +
    +
    + +
    +
    + + + + + + \ No newline at end of file diff --git a/docs/atomate.qchem.html b/docs/atomate.qchem.html index cce70f96a..8743724bc 100644 --- a/docs/atomate.qchem.html +++ b/docs/atomate.qchem.html @@ -6,7 +6,7 @@ - atomate.qchem package — atomate 0.7.8 documentation + atomate.qchem package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -47,6 +47,8 @@

    SubpackagesSubpackages +
  • atomate.qchem.fireworks package +
  • +
  • atomate.qchem.workflows package +
  • + + + +
    +

    Submodules

    +
    +
    +

    atomate.qchem.database module

    +
    +
    +class atomate.qchem.database.QChemCalcDb(host='localhost', port=27017, database='qchem', collection='tasks', user=None, password=None)
    +

    Bases: atomate.utils.database.CalcDb

    +

    Class to help manage database insertions of QChem drones

    +
    +
    +__init__(host='localhost', port=27017, database='qchem', collection='tasks', user=None, password=None)
    +

    Initialize self. See help(type(self)) for accurate signature.

    +
    + +
    +
    +build_indexes(indexes=None, background=True)
    +

    Build the indexes.

    +
    +
    Args:
    +
    indexes (list): list of single field indexes to be built. +background (bool): Run in the background or not.
    +
    TODO: make sure that the index building is sensible and check for
    +
    existing indexes.
    +
    +
    + +
    +
    +reset()
    +
    + +
    +
    +
    +

    atomate.qchem.drones module

    +
    +
    +class atomate.qchem.drones.QChemDrone(runs=None, additional_fields=None)
    +

    Bases: pymatgen.apps.borg.hive.AbstractDrone

    +

    A QChem drone to parse QChem calculations and insert an organized, searchable entry into the database.

    +
    +
    +__init__(runs=None, additional_fields=None)
    +

    Initialize a QChem drone to parse qchem calculations +Args:

    +
    +
    runs (list): Naming scheme for multiple calcuations in one folder +additional_fields (dict): dictionary of additional fields to add to output document
    +
    + +
    +
    +assimilate(path, input_file, output_file, multirun)
    +

    Parses qchem input and output files and insert the result into the db.

    +
    +
    Args:
    +

    path (str): Path to the directory containing output file +input_file (str): base name of the input file(s) +output_file (str): base name of the output file(s) +multirun (bool): Whether the job to parse includes multiple

    +
    +
    calculations in one input / output pair.
    +
    +
    Returns:
    +
    d (dict): a task dictionary
    +
    +
    + +
    +
    +filter_files(path, file_pattern)
    +

    Find the files that match the pattern in the given path and +return them in an ordered dictionary. The searched for files are +filtered by the run types defined in self.runs.

    +
    +
    Args:
    +
    path (string): path to the folder +file_pattern (string): base files to be searched for
    +
    Returns:
    +
    OrderedDict of the names of the files to be processed further. +The key is set from list of run types: self.runs
    +
    +
    + +
    +
    +generate_doc(dir_name, qcinput_files, qcoutput_files, multirun)
    +
    + +
    +
    +static get_valid_paths(path)
    +

    Checks if path contains valid data for assimilation, and then returns +the valid paths. The paths returned can be a list of directory or file +paths, depending on what kind of data you are assimilating. For +example, if you are assimilating VASP runs, you are only interested in +directories containing vasprun.xml files. On the other hand, if you are +interested converting all POSCARs in a directory tree to cifs for +example, you will want the file paths.

    +
    +
    Args:
    +
    +
    path: input path as a tuple generated from os.walk, i.e.,
    +
    (parent, subdirs, files).
    +
    +
    +
    Returns:
    +
    List of valid dir/file paths for assimilation
    +
    +
    + +
    +
    +static post_process(d)
    +

    Post-processing for various files other than the QChem input and output files. +Currently only looks for custodian.json. Modify this if other files need to be processed.

    +
    + +
    +
    +static process_qchem_multirun(input_files, output_files)
    +

    Process a QChem run which is known to include multiple calculations +in a single input/output pair.

    +
    + +
    +
    +static process_qchemrun(taskname, input_file, output_file)
    +

    Process a QChem calculation, aka an input/output pair.

    +
    + +
    +
    +schema = {'input': {'job_type', 'initial_molecule'}, 'output': {'job_type', 'initial_molecule'}, 'root': {'formula_pretty', 'walltime', 'pointgroup', 'input', 'dir_name', 'chemsys', 'cputime', 'smiles', 'output', 'calcs_reversed', 'formula_anonymous'}}
    +
    + +
    +
    +validate_doc(d)
    +

    Sanity check, aka make sure all the important keys are set. Note that a failure +to pass validation is unfortunately unlikely to be noticed by a user.

    +
    + +
    + +
    +
    +

    atomate.qchem.powerups module

    +
    +
    +atomate.qchem.powerups.use_fake_qchem(original_wf, ref_dirs)
    +

    Replaces all RunQChem commands (i.e. RunQChemDirect, RunQChemCustodian) with RunQChemFake. +This allows for testing without actually running QChem

    +
    +
    Args:
    +
    original_wf (Workflow) +ref_dirs (dict): key=firework name, value=path to the reference QChem calculation directory
    +
    Returns:
    +
    Workflow
    +
    +
    +

    Module contents

    @@ -76,6 +276,10 @@

    Table Of Contents

    diff --git a/docs/atomate.qchem.workflows.base.html b/docs/atomate.qchem.workflows.base.html new file mode 100644 index 000000000..63a595a81 --- /dev/null +++ b/docs/atomate.qchem.workflows.base.html @@ -0,0 +1,191 @@ + + + + + + + + atomate.qchem.workflows.base package — atomate 0.7.9 documentation + + + + + + + + + + + + + + +
    +
    +
    +
    + +
    +

    atomate.qchem.workflows.base package

    +
    +

    Submodules

    +
    +
    +

    atomate.qchem.workflows.base.double_FF_opt module

    +
    +
    +atomate.qchem.workflows.base.double_FF_opt.get_wf_double_FF_opt(molecule, pcm_dielectric, max_cores=32, qchem_input_params=None, name='douple_FF_opt', qchem_cmd='>>qchem_cmd<<', db_file='>>db_file<<', **kwargs)
    +

    Returns a workflow to the torsion potential for a molecule.

    +
    +
    Firework 1 : write QChem input for an FF optimization,
    +
    run FF_opt QCJob, +parse directory and insert into db, +pass relaxed molecule to fw_spec and on to fw2,
    +
    Firework 2 : write QChem input for an optimization in the
    +
    +
    presence of a PCM, using the molecule passed +from fw1,
    +

    run FF_opt QCJob, +parse directory and insert into db

    +
    +
    Args:
    +

    molecule (Molecule): input molecule to be optimized and run. +pcm_dielectric (float): The PCM dielectric constant. +max_cores (int): Maximum number of cores to parallelize over.

    +
    +
    Defaults to 32.
    +
    +
    qchem_input_params (dict): Specify kwargs for instantiating
    +
    the input set parameters.
    +
    +

    qchem_cmd (str): Command to run QChem. +db_file (str): path to file containing the database credentials. +kwargs (keyword arguments): additional kwargs to be passed to Workflow

    +
    +
    Returns:
    +
    Workflow
    +
    +
    + +
    +
    +

    atomate.qchem.workflows.base.torsion_potential module

    +
    +
    +atomate.qchem.workflows.base.torsion_potential.get_wf_torsion_potential(molecule, atom_indexes, angles, rem, name='torsion_potential', qchem_cmd='qchem', multimode='openmp', input_file='mol.qin', output_file='mol.qout', max_cores=32, db_file=None, **kwargs)
    +

    Returns a workflow to the torsion potential for a molecule.

    +
    +
    Firework 1 : write QChem input for an optimization,
    +
    run Qchem, +parse output and insert into db, +pass relaxed molecule to fw_spec and on to fw2,
    +
    Firework 2 : rotate molecule torsion to a particular angle,
    +
    write QChem input for an optimization, +run Qchem, +parse output and insert into db
    +
    +

    last Firework : add analysis code at some point

    +
    +
    +
    Args:
    +

    molecule (Molecule): Input molecule (needs to be a pymatgen molecule object) +atom_indexes (list of ints): list of atom indexes in the torsion angle to be rotated (i.e. [6, 8, 9, 10]) +angles (list of floats): list of all the torsion angles to run +rem (list of two rem dictionaries): a list with two rem dictionaries, one for the first optimization and +one for the second constrained optimization +name (str): Name for the workflow. +qchem_cmd (str): Command to run QChem. Defaults to qchem. +multimode (str): Parallelization scheme, either openmp or mpi. +input_file (str): Name of the QChem input file. Defaults to mol.qin. +output_file (str): Name of the QChem output file. Defaults to mol.qout. +max_cores (int): Maximum number of cores to parallelize over. Defaults to 32. +qchem_input_params (dict): Specify kwargs for instantiating the input set parameters.

    +
    +
    For example, if you want to change the DFT_rung, you should +provide: {“DFT_rung”: …}. Defaults to None.
    +

    db_file (str): Path to file specifying db credentials to place output parsing. +**kwargs: Other kwargs that are passed to Firework.__init__.

    +
    +
    +
    +

    Returns: Workflow

    +
    + +
    +
    +

    Module contents

    +
    +
    + + +
    +
    +
    + +
    +
    + + + + + + \ No newline at end of file diff --git a/docs/atomate.qchem.workflows.html b/docs/atomate.qchem.workflows.html new file mode 100644 index 000000000..b250f2502 --- /dev/null +++ b/docs/atomate.qchem.workflows.html @@ -0,0 +1,126 @@ + + + + + + + + atomate.qchem.workflows package — atomate 0.7.9 documentation + + + + + + + + + + + + + + +
    + + +
    +
    + + + + + + \ No newline at end of file diff --git a/docs/atomate.qchem.workflows.tests.html b/docs/atomate.qchem.workflows.tests.html new file mode 100644 index 000000000..af8149d53 --- /dev/null +++ b/docs/atomate.qchem.workflows.tests.html @@ -0,0 +1,169 @@ + + + + + + + + atomate.qchem.workflows.tests package — atomate 0.7.9 documentation + + + + + + + + + + + + + + +
    +
    +
    +
    + +
    +

    atomate.qchem.workflows.tests package

    +
    +

    Submodules

    +
    +
    +

    atomate.qchem.workflows.tests.test_double_FF_opt module

    +
    +
    +class atomate.qchem.workflows.tests.test_double_FF_opt.TestDoubleFFOpt(methodName='runTest')
    +

    Bases: atomate.utils.testing.AtomateTest

    +
    +
    +test_double_FF_opt()
    +
    + +
    + +
    +
    +

    atomate.qchem.workflows.tests.test_parse_pass_write module

    +
    +
    +class atomate.qchem.workflows.tests.test_parse_pass_write.TestParsePassWrite(methodName='runTest')
    +

    Bases: atomate.utils.testing.AtomateTest

    +
    +
    +classmethod setUpClass()
    +

    Hook method for setting up class fixture before running tests in the class.

    +
    + +
    +
    +tearDown()
    +

    Remove the scratch directory and teardown the test db.

    +
    + +
    +
    +test_parse_pass_rotate_write()
    +
    + +
    +
    +test_parse_pass_write()
    +
    + +
    + +
    +
    +

    atomate.qchem.workflows.tests.test_torsion_potential module

    +
    +
    +class atomate.qchem.workflows.tests.test_torsion_potential.TestTorsionPotential(methodName='runTest')
    +

    Bases: atomate.utils.testing.AtomateTest

    +
    +
    +test_torsion_potential()
    +
    + +
    + +
    +
    +

    Module contents

    +
    +
    + + +
    +
    +
    + +
    +
    + + + + + + \ No newline at end of file diff --git a/docs/atomate.tools.html b/docs/atomate.tools.html index 1060af7d9..46894d44f 100644 --- a/docs/atomate.tools.html +++ b/docs/atomate.tools.html @@ -6,7 +6,7 @@ - atomate.tools package — atomate 0.7.8 documentation + atomate.tools package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -113,7 +113,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.tools.post_process.html b/docs/atomate.tools.post_process.html index 82327ed92..dbebf9a7b 100644 --- a/docs/atomate.tools.post_process.html +++ b/docs/atomate.tools.post_process.html @@ -6,7 +6,7 @@ - atomate.tools.post_process package — atomate 0.7.8 documentation + atomate.tools.post_process package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -102,7 +102,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.tools.tests.html b/docs/atomate.tools.tests.html index cc9391477..5f064cc65 100644 --- a/docs/atomate.tools.tests.html +++ b/docs/atomate.tools.tests.html @@ -6,7 +6,7 @@ - atomate.tools.tests package — atomate 0.7.8 documentation + atomate.tools.tests package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -98,7 +98,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.utils.html b/docs/atomate.utils.html index cecd02eb1..1f50f0b25 100644 --- a/docs/atomate.utils.html +++ b/docs/atomate.utils.html @@ -6,7 +6,7 @@ - atomate.utils package — atomate 0.7.8 documentation + atomate.utils package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -513,7 +513,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.utils.tests.html b/docs/atomate.utils.tests.html index a44025571..e3221f040 100644 --- a/docs/atomate.utils.tests.html +++ b/docs/atomate.utils.tests.html @@ -6,7 +6,7 @@ - atomate.utils.tests package — atomate 0.7.8 documentation + atomate.utils.tests package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -231,7 +231,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.vasp.analysis.html b/docs/atomate.vasp.analysis.html index 4af0d3566..1aacb0083 100644 --- a/docs/atomate.vasp.analysis.html +++ b/docs/atomate.vasp.analysis.html @@ -6,7 +6,7 @@ - atomate.vasp.analysis package — atomate 0.7.8 documentation + atomate.vasp.analysis package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -170,7 +170,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.vasp.builders.examples.html b/docs/atomate.vasp.builders.examples.html index c6afb7d45..5f7fa9a7b 100644 --- a/docs/atomate.vasp.builders.examples.html +++ b/docs/atomate.vasp.builders.examples.html @@ -6,7 +6,7 @@ - atomate.vasp.builders.examples package — atomate 0.7.8 documentation + atomate.vasp.builders.examples package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -100,7 +100,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.vasp.builders.html b/docs/atomate.vasp.builders.html index 397c878a2..a0b3c22ce 100644 --- a/docs/atomate.vasp.builders.html +++ b/docs/atomate.vasp.builders.html @@ -6,7 +6,7 @@ - atomate.vasp.builders package — atomate 0.7.8 documentation + atomate.vasp.builders package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -585,7 +585,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.vasp.examples.html b/docs/atomate.vasp.examples.html index d1a04d383..cd4e57bc8 100644 --- a/docs/atomate.vasp.examples.html +++ b/docs/atomate.vasp.examples.html @@ -6,7 +6,7 @@ - atomate.vasp.examples package — atomate 0.7.8 documentation + atomate.vasp.examples package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -98,7 +98,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.vasp.firetasks.html b/docs/atomate.vasp.firetasks.html index 8786a5104..7987c7d40 100644 --- a/docs/atomate.vasp.firetasks.html +++ b/docs/atomate.vasp.firetasks.html @@ -6,7 +6,7 @@ - atomate.vasp.firetasks package — atomate 0.7.8 documentation + atomate.vasp.firetasks package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -1915,15 +1915,12 @@

    Submodules
    Required params:
    -
    prev_calc_dir: path to previous calculation -magmom (list): magnetic moment values for each site in the structure. +
    magmom (list): magnetic moment values for each site in the structure. saxis (list): magnetic field direction
    -
    Optional params:
    -
    (none)
    -optional_params = ['copy_chgcar', 'nbands_factor', 'reciprocal_density', 'small_gap_multiply', 'standardize', 'sym_prec', 'international_monoclinic', 'other_params']
    +optional_params = ['prev_calc_dir', 'copy_chgcar', 'nbands_factor', 'reciprocal_density', 'small_gap_multiply', 'standardize', 'sym_prec', 'international_monoclinic', 'other_params']
    @@ -2065,7 +2062,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.vasp.firetasks.tests.html b/docs/atomate.vasp.firetasks.tests.html index 8d23b63ec..671273394 100644 --- a/docs/atomate.vasp.firetasks.tests.html +++ b/docs/atomate.vasp.firetasks.tests.html @@ -6,7 +6,7 @@ - atomate.vasp.firetasks.tests package — atomate 0.7.8 documentation + atomate.vasp.firetasks.tests package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -251,7 +251,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.vasp.fireworks.html b/docs/atomate.vasp.fireworks.html index dcd0eaafa..dd42567b3 100644 --- a/docs/atomate.vasp.fireworks.html +++ b/docs/atomate.vasp.fireworks.html @@ -6,7 +6,7 @@ - atomate.vasp.fireworks package — atomate 0.7.8 documentation + atomate.vasp.fireworks package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -617,7 +617,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.vasp.html b/docs/atomate.vasp.html index 4865bb208..5694693e2 100644 --- a/docs/atomate.vasp.html +++ b/docs/atomate.vasp.html @@ -6,7 +6,7 @@ - atomate.vasp package — atomate 0.7.8 documentation + atomate.vasp package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -411,7 +411,7 @@

    Submodules
    -schema = {'analysis': {'max_force', 'errors', 'warnings', 'delta_volume_as_percent', 'delta_volume'}, 'calcs_reversed': {'output', 'dir_name', 'input', 'run_type', 'composition_unit_cell', 'elements', 'task', 'has_vasp_completed', 'formula_reduced_abc', 'vasp_version', 'nelements', 'nsites', 'formula_anonymous', 'composition_reduced', 'formula_pretty', 'completed_at'}, 'input': {'is_hubbard', 'potcar_spec', 'is_lasph', 'xc_override', 'structure', 'hubbards', 'pseudo_potential'}, 'output': {'stress', 'spacegroup', 'vbm', 'is_metal', 'cbm', 'structure', 'energy_per_atom', 'is_gap_direct', 'forces', 'density', 'energy', 'bandgap'}, 'root': {'output', 'dir_name', 'schema', 'input', 'run_stats', 'composition_unit_cell', 'analysis', 'elements', 'formula_reduced_abc', 'chemsys', 'nelements', 'calcs_reversed', 'nsites', 'formula_anonymous', 'composition_reduced', 'formula_pretty', 'state', 'completed_at'}}
    +schema = {'analysis': {'max_force', 'delta_volume_as_percent', 'delta_volume', 'warnings', 'errors'}, 'calcs_reversed': {'elements', 'formula_pretty', 'run_type', 'completed_at', 'composition_reduced', 'input', 'dir_name', 'formula_reduced_abc', 'task', 'composition_unit_cell', 'vasp_version', 'nsites', 'output', 'has_vasp_completed', 'nelements', 'formula_anonymous'}, 'input': {'hubbards', 'potcar_spec', 'xc_override', 'structure', 'is_hubbard', 'pseudo_potential', 'is_lasph'}, 'output': {'is_metal', 'is_gap_direct', 'stress', 'structure', 'bandgap', 'energy_per_atom', 'energy', 'vbm', 'cbm', 'forces', 'density', 'spacegroup'}, 'root': {'formula_pretty', 'elements', 'analysis', 'completed_at', 'composition_reduced', 'chemsys', 'schema', 'dir_name', 'formula_reduced_abc', 'input', 'state', 'composition_unit_cell', 'calcs_reversed', 'nsites', 'output', 'run_stats', 'nelements', 'formula_anonymous'}}

    @@ -916,7 +916,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.vasp.tests.html b/docs/atomate.vasp.tests.html index 8b27a5065..d26007f6d 100644 --- a/docs/atomate.vasp.tests.html +++ b/docs/atomate.vasp.tests.html @@ -6,7 +6,7 @@ - atomate.vasp.tests package — atomate 0.7.8 documentation + atomate.vasp.tests package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -234,7 +234,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.vasp.workflows.base.html b/docs/atomate.vasp.workflows.base.html index c2a2380a8..37abceb2f 100644 --- a/docs/atomate.vasp.workflows.base.html +++ b/docs/atomate.vasp.workflows.base.html @@ -6,7 +6,7 @@ - atomate.vasp.workflows.base package — atomate 0.7.8 documentation + atomate.vasp.workflows.base package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -587,7 +587,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.vasp.workflows.html b/docs/atomate.vasp.workflows.html index 46f717714..49011fb0f 100644 --- a/docs/atomate.vasp.workflows.html +++ b/docs/atomate.vasp.workflows.html @@ -6,7 +6,7 @@ - atomate.vasp.workflows package — atomate 0.7.8 documentation + atomate.vasp.workflows package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -132,7 +132,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.vasp.workflows.presets.html b/docs/atomate.vasp.workflows.presets.html index 9312746da..982728128 100644 --- a/docs/atomate.vasp.workflows.presets.html +++ b/docs/atomate.vasp.workflows.presets.html @@ -6,7 +6,7 @@ - atomate.vasp.workflows.presets package — atomate 0.7.8 documentation + atomate.vasp.workflows.presets package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -258,7 +258,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/atomate.vasp.workflows.tests.html b/docs/atomate.vasp.workflows.tests.html index 6a3df9936..865bcd2ab 100644 --- a/docs/atomate.vasp.workflows.tests.html +++ b/docs/atomate.vasp.workflows.tests.html @@ -6,7 +6,7 @@ - atomate.vasp.workflows.tests package — atomate 0.7.8 documentation + atomate.vasp.workflows.tests package — atomate 0.7.9 documentation @@ -28,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -300,7 +300,7 @@

    Navigation

  • modules |
  • - + diff --git a/docs/builders.html b/docs/builders.html index e7b805d19..03346a88c 100644 --- a/docs/builders.html +++ b/docs/builders.html @@ -6,7 +6,7 @@ - Builders — atomate 0.7.8 documentation + Builders — atomate 0.7.9 documentation @@ -36,7 +36,7 @@

    Navigation

  • previous |
  • - + @@ -154,7 +154,7 @@

    Navigation

  • previous |
  • - + diff --git a/docs/changelog.html b/docs/changelog.html index 27c3927f0..da9faa30a 100644 --- a/docs/changelog.html +++ b/docs/changelog.html @@ -6,7 +6,7 @@ - atomate Changelog — atomate 0.7.8 documentation + atomate Changelog — atomate 0.7.9 documentation @@ -36,7 +36,7 @@

    Navigation

  • previous |
  • - + @@ -47,6 +47,12 @@

    Navigation

    atomate Changelog

    +

    v0.7.9

    +
      +
    • Overhaul and update of QChem in atomate (B. Wood, S. Blau)
    • +
    • Fix integration tests (A. Dunn)
    • +
    • Stop officially supporting Py2
    • +

    v0.7.8

    diff --git a/docs/concepts.html b/docs/concepts.html index aaa2b09d0..d0e3cecf8 100644 --- a/docs/concepts.html +++ b/docs/concepts.html @@ -6,7 +6,7 @@ - Atomate concepts — atomate 0.7.8 documentation + Atomate concepts — atomate 0.7.9 documentation @@ -32,7 +32,7 @@

    Navigation

  • previous |
  • - + @@ -152,7 +152,7 @@

    Navigation

  • previous |
  • - + diff --git a/docs/contributors.html b/docs/contributors.html index aec7cc571..d53c6ed41 100644 --- a/docs/contributors.html +++ b/docs/contributors.html @@ -6,7 +6,7 @@ - Contributors — atomate 0.7.8 documentation + Contributors — atomate 0.7.9 documentation @@ -36,7 +36,7 @@

    Navigation

  • previous |
  • - + @@ -50,10 +50,10 @@

    Contributors -
  • Kiran Mathew, Shyam Dwaraknath, Joey Montoya, Murat Aykol, and Patrick Huck through the research group of Prof. Kristin Persson at UC Berkeley.
  • +
  • Kiran Mathew, Shyam Dwaraknath, Joey Montoya, Murat Aykol, Patrick Huck, Brandon Wood, and Sam Blau through the research group of Prof. Kristin Persson at UC Berkeley.
  • Hanmei Tang, Prof. Shyue Ping Ong, and the Materials Virtual Lab research group at UC San Diego.
  • Brandon Bocklund, who led the atomate documentation effort, through the research group of Prof. Zi-Kiu Liu at Penn State.
  • -
  • Alireza Faghaninia through the research group of A. Jain at LBNL.
  • +
  • Alireza Faghaninia and A. Dunn through the research group of A. Jain at LBNL.
  • Tess Smidt through the research group of Prof. Jeff Neaton at UC Berkeley.
  • Danny Broberg through the research group of Prof. Mark Asta at UC Berkeley.
  • External contributors: specter119, M. Dias Costa
  • @@ -110,7 +110,7 @@

    Navigation

  • previous |
  • - + diff --git a/docs/creating_workflows.html b/docs/creating_workflows.html index b06eb261a..71f46dd21 100644 --- a/docs/creating_workflows.html +++ b/docs/creating_workflows.html @@ -6,7 +6,7 @@ - Creating workflows — atomate 0.7.8 documentation + Creating workflows — atomate 0.7.9 documentation @@ -36,7 +36,7 @@

    Navigation

  • previous |
  • - + @@ -457,7 +457,7 @@

    Navigation

  • previous |
  • - + diff --git a/docs/customizing_workflows.html b/docs/customizing_workflows.html index 54511a212..985ecac9b 100644 --- a/docs/customizing_workflows.html +++ b/docs/customizing_workflows.html @@ -6,7 +6,7 @@ - Customizing workflows — atomate 0.7.8 documentation + Customizing workflows — atomate 0.7.9 documentation @@ -36,7 +36,7 @@

    Navigation

  • previous |
  • - + @@ -306,7 +306,7 @@

    Navigation

  • previous |
  • - + diff --git a/docs/developer_installation.html b/docs/developer_installation.html index 99b335923..db5afc328 100644 --- a/docs/developer_installation.html +++ b/docs/developer_installation.html @@ -6,7 +6,7 @@ - Atomate developer installation — atomate 0.7.8 documentation + Atomate developer installation — atomate 0.7.9 documentation @@ -36,7 +36,7 @@

    Navigation

  • previous |
  • - + @@ -173,7 +173,7 @@

    Navigation

  • previous |
  • - + diff --git a/docs/genindex.html b/docs/genindex.html index adf086de8..8e4c9f103 100644 --- a/docs/genindex.html +++ b/docs/genindex.html @@ -7,7 +7,7 @@ - Index — atomate 0.7.8 documentation + Index — atomate 0.7.9 documentation @@ -29,7 +29,7 @@

    Navigation

  • modules |
  • - + @@ -58,6 +58,7 @@

    Index

    | N | O | P + | Q | R | S | T @@ -90,6 +91,14 @@

    _

  • (atomate.lammps.fireworks.core.LammpsForceFieldFW method)
  • (atomate.lammps.fireworks.core.PackmolFW method) +
  • +
  • (atomate.qchem.database.QChemCalcDb method) +
  • +
  • (atomate.qchem.drones.QChemDrone method) +
  • +
  • (atomate.qchem.fireworks.core.FrequencyFlatteningOptimizeFW method) +
  • +
  • (atomate.qchem.fireworks.core.OptimizeFW method)
  • (atomate.utils.database.CalcDb method)
  • @@ -200,6 +209,8 @@

    A

    + - - +