oas_dev/preprocess/launch_monthly_station_collocation.py
def update_stat_proc(r):
    """
    Update row if process is done
    :param r:
    :return:
    """
    if r['status'] == 'done': return 'done'
    if r['status'] == 'not running':
        return 'not running'
    else:
        p = r['process']
        p: subprocess.Popen
        if p.poll() is None:
            return 'running'
        else:
            return 'done'

    Update row if process is done
    :param r:
    :return:
    
Update row if process is done
Update row if process is done
def update_stat_proc(r):
    if r['status'] == 'done': return 'done'
    if r['status'] == 'not running':
        return 'not running'
    else:
        p = r['process']
        p: subprocess.Popen
        if p.poll() is None:
            return 'running'
        else:
            return 'done'
def update_stat_proc ( r ) : if r [ 'status' ] == 'done' : return 'done' if r [ 'status' ] == 'not running' : return 'not running' else : p = r [ 'process' ] p : subprocess . Popen if p . poll ( ) is None : return 'running' else : return 'done'
Update row if process is done
Update row if process is done
"""
    Update row if process is done
    :param r:
    :return:
    """
None
r
None