Skip to content

‼️[ENHANCEMENT] ‼️ - Rename ProgramOutput -> ProgramResults and XXResults -> XXData #88

Description

@coltonbh

I've tried to be pedantic about calling all the values on the ProgramOutput object "output" and the parsed value "results;" however, this collides with basic naming conventions like this, where the returned value of a computation is almost always called "results":

results = compute("psi4", prog_inp)

Using the word data in place of results fixes this and makes the semantics nice:

results = compute("psi4, prog_inp)
results.data.energy
results.data.gradient
results.stdout

This nicely prserves the semantics "The results have data, standard out, provenance, etc..." and I now have a word for all the parsed values, data, that is clear, scientific, and easy to references.

See conversation: https://chatgpt.com/g/g-p-685372e8f69481919b9e72ae6a9f979e-chemcloud-client/c/68cc4df5-5200-8320-8a99-efe9bf5768a1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions