lst_auto_rta.Auto_Calib.get_last_specific_run

lst_auto_rta.Auto_Calib.get_last_specific_run(kind_of_run)[source]

Query the LST1 MongoDB database for the most recent run of a specific type.

Parameters:

kind_of_run – str The type of run to search for (e.g. “calib_drs4”, “calib_ped_run”)

Returns:

int The run number of the most recent run of the specified type, or -1 if an error occurs or no runs of that type are found.