mispr.gaussian package¶
Subpackages¶
- mispr.gaussian.firetasks package
- Submodules
- mispr.gaussian.firetasks.geo_transformation module
- mispr.gaussian.firetasks.geo_transformation.AttachFunctionalGroup
- mispr.gaussian.firetasks.geo_transformation.BreakMolecule
- mispr.gaussian.firetasks.geo_transformation.ConvertToMoleculeObject
- mispr.gaussian.firetasks.geo_transformation.LinkMolecules
- mispr.gaussian.firetasks.geo_transformation.ProcessMoleculeInput
- mispr.gaussian.firetasks.geo_transformation.RetrieveMoleculeObject
- mispr.gaussian.firetasks.parse_outputs module
- mispr.gaussian.firetasks.parse_outputs.BDEtoDB
- mispr.gaussian.firetasks.parse_outputs.BindingEnergytoDB
- mispr.gaussian.firetasks.parse_outputs.ESPtoDB
- mispr.gaussian.firetasks.parse_outputs.IPEAtoDB
- mispr.gaussian.firetasks.parse_outputs.NMRtoDB
- mispr.gaussian.firetasks.parse_outputs.ProcessRun
- mispr.gaussian.firetasks.parse_outputs.RetrieveGaussianOutput
- mispr.gaussian.firetasks.run_calc module
- mispr.gaussian.firetasks.write_inputs module
- Module contents
- mispr.gaussian.fireworks package
- mispr.gaussian.utilities package
- Submodules
- mispr.gaussian.utilities.db_utilities module
- mispr.gaussian.utilities.dbdoc module
- mispr.gaussian.utilities.files module
- mispr.gaussian.utilities.fw_utilities module
- mispr.gaussian.utilities.fw_utilities.add_common_mods
- mispr.gaussian.utilities.fw_utilities.control_worker
- mispr.gaussian.utilities.fw_utilities.get_list_fireworks_and_tasks
- mispr.gaussian.utilities.fw_utilities.modify_queue_parameters
- mispr.gaussian.utilities.fw_utilities.replace_runtask
- mispr.gaussian.utilities.fw_utilities.run_fake_gaussian
- mispr.gaussian.utilities.gout module
- mispr.gaussian.utilities.inputs module
- mispr.gaussian.utilities.metadata module
- mispr.gaussian.utilities.misc module
- mispr.gaussian.utilities.mol module
- mispr.gaussian.utilities.rdkit module
- Module contents
- mispr.gaussian.workflows package
Submodules¶
mispr.gaussian.database module¶
Define the Gaussian database class.
-
class mispr.gaussian.database.GaussianCalcDb(host, port=
None
, name=None
, username=None
, password=None
, uri_mode=False
, **kwargs)[source]¶ Bases:
object
Class to help manage database insertions of molecules and Gaussian calculations.
-
abstract build_indexes(background=
True
)[source]¶ Build indexes for the database.
-
classmethod from_db_file(db_file, admin=
True
)[source]¶ Create a new database object from a database file.
- insert_derived_mol(derived_mol, update_duplicates)[source]¶
Insert a derived molecule into the derived_molecules collection.
- insert_fg(fg_file)[source]¶
Insert functional groups into their collection using a json file. The file can contain one or more functional groups.
-
insert_molecule(mol, update_duplicates=
False
)[source]¶ Insert a molecule into the molecules collection.
- insert_property(collection_name, property_dict, index, **kwargs)[source]¶
Insert a document into a property collection in the database.
- Parameters:¶
-
move_runs(new_collection, inchi=
None
, smiles=None
, functional=None
, basis=None
, **kwargs)[source]¶ Move documents from the runs collection to another collection.
- Parameters:¶
- new_collection : str¶
The name of the collection to move the runs to.
- inchi : str, optional¶
The inchi representation of the molecule.
- smiles : str, optional¶
The smiles representation of the molecule.
- functional : str, optional¶
The name of the density functional.
- basis : str, optional¶
The name of the basis set.
- **kwargs¶
Other kwargs that can be used to query the collection.
-
retrieve_doc(collection_name, inchi=
None
, smiles=None
, functional=None
, basis=None
, **kwargs)[source]¶ Retrieve a document from any collection of the database.
- Parameters:¶
- collection_name : str¶
The name of the collection, e.g. bde, molecules, runs, etc.
- inchi : str, optional¶
The inchi representation of the molecule.
- smiles : str, optional¶
The smiles representation of the molecule.
- functional : str, optional¶
The name of the density functional.
- basis : str, optional¶
The name of the basis set.
- **kwargs¶
Other kwargs that can be used to query the collection.
- Returns:¶
A list of documents that match the query
- Return type:¶
list
-
retrieve_run(inchi=
None
, smiles=None
, functional=None
, basis=None
, **kwargs)[source]¶ Retrieve a run from the runs collection.
- Parameters:¶
- inchi : str, optional¶
The inchi representation of the molecule.
- smiles : str, optional¶
The smiles representation of the molecule.
- functional : str, optional¶
The name of the density functional.
- basis : str, optional¶
The name of the basis set.
- **kwargs¶
Other kwargs that can be used to query the collection.
- Returns:¶
A list of documents that match the query.
- Return type:¶
list
-
update_run(new_values, inchi=
None
, smiles=None
, job_type=None
, functional=None
, basis=None
, phase=None
, **kwargs)[source]¶ Update a document in the runs collection. If multiple documents match the query criteria, will select the first one.
- Parameters:¶
- new_values : dict¶
The new output values to update the document with, e.g.
- code-block: : ..
python: {“polarizability”: 3.5}
- inchi : str, optional¶
The inchi representation of the molecule.
- smiles : str, optional¶
The smiles representation of the molecule.
- job_type : str, optional¶
The type of job, e.g. “opt”, “freq”.
- functional : str, optional¶
The name of the density functional.
- basis : str, optional¶
The name of the basis set.
- phase : str, optional¶
The phase of the job, e.g. “gas”, “solution”.
- **kwargs¶
Other kwargs that can be used to query the collection.
-
abstract build_indexes(background=