Redox Potential
Redox potential workflow - calculate oxidation/reduction potentials.
RedoxPotentialResult
dataclass
RedoxPotentialResult(
workflow_data: dict[str, Any],
workflow_type: str,
workflow_uuid: str,
complete: bool = True,
)
Bases: WorkflowResult
Result from a redox-potential workflow.
neutral_molecule_uuid
property
UUID of the optimized neutral molecule calculation.
cation_molecule_uuid
property
UUID of the optimized cation (oxidized) molecule calculation.
anion_molecule_uuid
property
UUID of the optimized anion (reduced) molecule calculation.
get_neutral_molecule
Fetch the optimized neutral molecule calculation.
get_cation_molecule
Fetch the optimized cation (oxidized) molecule calculation.
submit_redox_potential_workflow
submit_redox_potential_workflow(
initial_molecule: StructureInput,
reduction: bool = False,
oxidation: bool = True,
mode: Mode = Mode.RAPID,
name: str = "Redox Potential Workflow",
folder_uuid: str | None = None,
folder: Folder | None = None,
max_credits: int | None = None,
webhook_url: str | None = None,
is_draft: bool = False,
) -> Workflow
Submits a redox-potential workflow to the API.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
initial_molecule
|
StructureInput
|
Molecule to calculate the redox potential of. |
required |
reduction
|
bool
|
Whether to calculate the reduction potential. |
False
|
oxidation
|
bool
|
Whether to calculate the oxidation potential. |
True
|
mode
|
Mode
|
Mode to run the calculation in. |
RAPID
|
name
|
str
|
Name of the workflow. |
'Redox Potential Workflow'
|
folder_uuid
|
str | None
|
UUID of the folder to place the workflow in. |
None
|
folder
|
Folder | None
|
Folder object to store the workflow in. |
None
|
max_credits
|
int | None
|
Maximum number of credits to use for the workflow. |
None
|
webhook_url
|
str | None
|
URL that Rowan will POST to when the workflow completes. |
None
|
is_draft
|
bool
|
If True, submit the workflow as a draft without starting execution. |
False
|
Returns:
| Type | Description |
|---|---|
Workflow
|
Workflow object representing the submitted workflow. |
Raises:
| Type | Description |
|---|---|
requests.HTTPError
|
if the request to the API fails. |