| 
| string  | winnet_monitor_run.user = "User" | 
|   | 
| bool  | winnet_monitor_run.use_slurm_times = False | 
|   | 
| string  | winnet_monitor_run.path = "." | 
|   | 
| string  | winnet_monitor_run.cmd = "squeue | grep "+user+" | grep R | wc -l" | 
|   | 
|   | winnet_monitor_run.x = subprocess.check_output(cmd, shell=True) | 
|   | 
|   | winnet_monitor_run.nr_process = int(x.strip()) | 
|   | 
| int  | winnet_monitor_run.allTotal = 0 | 
|   | 
| int  | winnet_monitor_run.allRem = 0 | 
|   | 
| int  | winnet_monitor_run.allFin = 0 | 
|   | 
| int  | winnet_monitor_run.allFail = 0 | 
|   | 
| list  | winnet_monitor_run.eltime = [] | 
|   | 
|   | winnet_monitor_run.all_folders = os.listdir(path) | 
|   | 
| string  | winnet_monitor_run.tot_path = os.path.join(path,p) | 
|   | 
| string  | winnet_monitor_run.w_path = os.path.join(tot_path,"winnet") | 
|   | 
| string  | winnet_monitor_run.b_path = os.path.join(tot_path,"blocked") | 
|   | 
| string  | winnet_monitor_run.f_path = os.path.join(tot_path,"finab.dat") | 
|   | 
| string  | winnet_monitor_run.h_path = os.path.join(tot_path,"WinNet_data.h5") | 
|   | 
| string  | winnet_monitor_run.o_path = os.path.join(tot_path,"OUT") | 
|   | 
|   | winnet_monitor_run.w = winnet(tot_path) | 
|   | 
|   | winnet_monitor_run.ftmp = h5py.File(h_path,"r") | 
|   | 
|   | winnet_monitor_run.times = x.split("\n") | 
|   | 
| list  | winnet_monitor_run.ttt = [] | 
|   | 
|   | winnet_monitor_run.days = t.split("-") | 
|   | 
| int  | winnet_monitor_run.tottime = float(days[0])*24 | 
|   | 
|   | winnet_monitor_run.av_time = np.average(ttt) | 
|   | 
| int  | winnet_monitor_run.av_per_h = 1./(np.nanmean(eltime)/60./60./allRem) | 
|   | 
| bool  | winnet_monitor_run.finished = False | 
|   | 
| int  | winnet_monitor_run.rest_runs = allTotal-allFin-allFail | 
|   | 
| int  | winnet_monitor_run.est_time = rest_runs/av_per_h | 
|   | 
|   | winnet_monitor_run.secs = int(est_time % 60) | 
|   | 
|   | winnet_monitor_run.mins = int(est_time % 60) | 
|   | 
| int  | winnet_monitor_run.hours = est_time | 
|   | 
| string  | winnet_monitor_run.timestr = str(hours).zfill(2)+":"+str(mins).zfill(2)+":"+str(secs).zfill(2) | 
|   | 
|   | winnet_monitor_run.date_object = timedelta(hours=hours,minutes=mins,seconds=secs) | 
|   | 
|   | winnet_monitor_run.now = datetime.now() | 
|   | 
|   | winnet_monitor_run.finishtime = now+date_object | 
|   | 
|   | winnet_monitor_run.secs2 = int(est_time % 60) | 
|   | 
|   | winnet_monitor_run.mins2 = int(est_time % 60) | 
|   | 
| int  | winnet_monitor_run.hours2 = est_time | 
|   | 
| string  | winnet_monitor_run.timestr2 = str(hours2).zfill(2)+":"+str(mins2).zfill(2)+":"+str(secs2).zfill(2) | 
|   | 
| string  | winnet_monitor_run.outstr = "" | 
|   |