Closed RagnarB83 closed 1 year ago
Need to change this once and for all.
Idea:
All job-functions return a Results object.
Results object will have attributes such as:
Used like this : results = Optimizer(theory=t, fragment=f)
results.energy results.geometry results.thermochemistry
All attributes of Results object can be found by: vars(results) results.dict
Document the Results object clearly.
Alternative: Return a regular dictionary
done. Now a Results object, documented here: https://ash.readthedocs.io/en/latest/job-types.html#output-object-of-ash-job-types
Need to change this once and for all.
Idea:
All job-functions return a Results object.
Results object will have attributes such as:
Used like this : results = Optimizer(theory=t, fragment=f)
results.energy results.geometry results.thermochemistry
All attributes of Results object can be found by: vars(results) results.dict
Document the Results object clearly.
Alternative: Return a regular dictionary