aiida_aimall.workchains.input#
Base input workchain
Module Contents#
Classes#
A workchain to generate and validate inputs. |
- class aiida_aimall.workchains.input.BaseInputWorkChain(inputs: dict | None = None, logger: logging.Logger | None = None, runner: aiida.engine.runners.Runner | None = None, enable_persistence: bool = True)[source]#
Bases:
aiida.engine.WorkChainA workchain to generate and validate inputs.
Provided an .xyz file as SinglefileData, molecule StructureData, or SMILES of the molecule validates that only one is provided. Then, prepares the input into a format for future GaussianCalculations.
- structure#
StructureData of molecule to run
- Type:
- smiles#
smiles string of molecule
- Type:
- xyz_file#
file data of an xyz file
- Type:
Note
- This is a base class that is used by other WorkChains
(
aiida_aimall.workchains.subparam.SubstituentParameterWorkChain(), andaiida_aimall.workchains.qc_programs.GaussianToAIMWorkChain())
- classmethod define(spec)[source]#
Define the specification of the process, including its inputs, outputs and known exit codes.
A metadata input namespace is defined, with optional ports that are not stored in the database.
- create_structure_from_xyz()[source]#
Convert the xyzfile to StructureData. Calls
aiida_aimall.workchains.calcfunctions.xyzfile_to_StructureData()
- structure_in_context()[source]#
Store the input structure in context, to make consistent with the results of xyz_file or SMILES input.
- get_molecule_inputs_step()[source]#
Given list of substituents and previously done smiles, get input. Calls
aiida_aimall.workchains.calcfunctions.get_molecule_str_from_smiles()
- string_to_StructureData()[source]#
Convert an xyz string of molecule geometry to StructureData. Calls
aiida_aimall.workchains.calcfunctions.generate_structure_data()