attpcdaq.daq.models.Experiment.latest_run

Experiment.latest_run

Get the most recent run in the experiment.

This will return the current run if a run is ongoing, or the most recent run if the DAQ is stopped.

Returns:The most recent or current run. If there are no runs for this experiment, None will be returned instead.
Return type:RunMetadata or None