attpcdaq.daq.models.Experiment.next_run_number

Experiment.next_run_number

Get the number that the next run should have.

The number returned is the run number from latest_run plus 1. Therefore, if a run is currently being recorded, this function will return the current run number plus 1.

If there are no runs, this will return 0.

Returns:The next run number.
Return type:int