atomate.common.firetasks.tests package


atomate.common.firetasks.tests.test_glue_tasks module

atomate.common.firetasks.tests.test_parse_outputs module

class atomate.common.firetasks.tests.test_parse_outputs.TestDrone

Bases: pymatgen.apps.borg.hive.AbstractDrone


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


Assimilate data in a directory path into a pymatgen object. Because of the quirky nature of Python”s multiprocessing, the object must support pymatgen’s as_dict() for parallel processing.


path: directory path


An assimilated object


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.

path: input path as a tuple generated from os.walk, i.e.,

(parent, subdirs, files).


List of valid dir/file paths for assimilation

class atomate.common.firetasks.tests.test_parse_outputs.TestToDbTask(methodName='runTest')

Bases: atomate.utils.testing.AtomateTest


Module contents