microsoft / SparseSC

Fit Sparse Synthetic Control Models in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

implement wait and reconnect options for AzurBatch.run

jdthorpe opened this issue · comments

The call to SparseSC.utils.AzureBatch.run() waits for the batch job to complete by default. However, this is not necessary as once created, the batch job is independent of the local process. Also, the currene api doesn't allow for reconnecting to a job after accidentally quitting out of python while run() is running. This is an easy fix (and I did it a lot during development), which needs to be implemented in the API