ctreffe / alfred

Alfred - A library for rapid experiment development
MIT License
10 stars 1 forks source link

Add a property "status" to the Experiment class #50

Closed ctreffe closed 3 years ago

ctreffe commented 4 years ago

In a variety of contexts, we use a status indicator to coordinate interactive components or to control ongoing experimental sessions. Currently, the default method is to add status variables to the additional_data dictionary, but the status of an ongoing session could (and should) be a property of the Experiment class itself. This would allow users to set and update the status of an ongoing session quick and easy.

jobrachem commented 4 years ago

Maybe "session_status", for the greater specificity?

jobrachem commented 3 years ago

In alfred3 v2.0, alfred3.experiment.ExperimentSession.session_status is available.