Hi everyone, 

I am trying to modify the recover function from the drmaa.py (/galaxy_central/lib/galaxy/job/runners/drmaa.py) as per my requirements.
But I am not ale to understand the flow of that function.

The recover function is called when the galaxy server is restarted. It first looks for the running jobs from the database. Then my problem is how it regains the same old state of the galaxy (specially the GUI) which was before the galaxy got restarted. 
Can anyone explain me the flow of the recover function and how the old state is regained.

Regards
Harendra