RunOutcome#
| Member | Kind | What it is |
|---|---|---|
open | method | Open the directory of the outcome by the verb open: a run or a session. |
read | method | Return the outcome of the run or session in *run_dir*. |
to_dict | method | Return the outcome as a mapping that json.dumps writes as it is. |
deliveries | attribute | Signature only |
identical_to | attribute | Signature only |
kind | attribute | Signature only |
mesh_summary | attribute | Signature only |
name | attribute | Signature only |
project_root | attribute | Signature only |
request_id | attribute | Signature only |
run_dir | attribute | Signature only |
sim_id | attribute | Signature only |
status | attribute | Signature only |
-
class RunOutcome(
)[source]#name,run_dir,sim_id,request_id,status,identical_to,project_root,mesh_summary=None,deliveries=(),kind='run',
What a finished run says, read from its directory.
identical_tonames the completed run a run gave back instead of computing it again, and isNonefor a run that computed.mesh_summaryis what the mesh step of a run that computed one says of its mesh; no file of the run directory holds it, soread()leaves itNone.deliveriesare thedeliverylines the call wrote for the run, empty for a run that delivered nothing;read()leaves them empty.kindsays whether the directory is a run, a session or a case of a plan.-
classmethod read(
)[source]#run_dir,*,project_root,identical_to=None,kind='run',
Return the outcome of the run or session in run_dir.
Raises
FileNotFoundErrorwhen the directory carries no outcome.
- deliveries: tuple[PublishedLine, ...]#
-
classmethod read(