#295: Simfactory (python version) not able to submit jobs on bluedrop. ---------------------------------+------------------------------------------ Reporter: diener@… | Owner: mthomas Type: defect | Status: closed Priority: blocker | Milestone: Component: SimFactory | Version: Resolution: fixed | Keywords: ---------------------------------+------------------------------------------
Comment (by eschnett):
That seems dangerous. If the simulation is checked for some other reason, then the simulation will still be cleaned up.
Could you add a check into the cleanup routine that tests the age of the simulation, and does not mark it as "finished" if it is less than a minute old? This check would prevent cleanup more reliably, e.g. also if one runs simfactory multiple times, or if the rate limiting mechanism changes at some point.
Can you also add a comment to the code explaining why this is necessary?