Skip to content

Commit

Permalink
extras
Browse files Browse the repository at this point in the history
  • Loading branch information
loriab committed May 6, 2024
1 parent 3549444 commit b320d54
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions qcmanybody/models/manybody_input_pydv1.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ class ManyBodyInput(ProtoModel):
...,
description="Target molecule for many-body expansion (MBE) or interaction energy (IE) analysis.",
)
#extras: Dict[str, Any] = Field(
# {},
# description="Additional information to bundle with the computation. Use for schema development and scratch space.",
#)
extras: Dict[str, Any] = Field(
{},
description="Additional information to bundle with the computation. Use for schema development and scratch space.",
)
2 changes: 1 addition & 1 deletion qcmanybody/qcng_computer.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def from_manybodyinput(cls, input_model: ManyBodyInput, build_tasks: bool = True

for chem, label, imol in computer_model.qcmb_calculator.iterate_molecules():
inp = AtomicInput(molecule=imol, **specifications[chem]["specification"])
# faster for p4 inp = AtomicInput(molecule=imol, **specifications[chem]["specification"], extras={"psiapi": True})
# inp = AtomicInput(molecule=imol, **specifications[chem]["specification"], extras={"psiapi": True}) # faster for p4

if imol.extras.get("embedding_charges"): # or test on self.embedding_charges ?
if specifications[chem]["program"] == "psi4":
Expand Down

0 comments on commit b320d54

Please sign in to comment.