VisionSystemsInc / terra

Terra - Run your algorithm anywhere on earth
MIT License
0 stars 3 forks source link

status dict #107

Closed drewgilliam closed 3 years ago

drewgilliam commented 3 years ago

Refactor status.json to contain a dictionary of stage status information. Update resumable tests given new status.json format.

Consider a pipeline containing the stages ["A", "B", "C"]. A status.json of the form

{
  "A": {"name", "A", "state", "done"},
  "B": {"name", "B", "state", "starting"},
}

indicates stage A is complete and stage B is starting.

A stage is injected with the status subdict for that stage. For example, the self object for stage B would contain

self.status == {"name": "B", "state": "starting"}