Statistics
| Branch: | Revision:

mobicen / autoPlot.py @ master

History | View | Annotate | Download (701 Bytes)

1
import glob
2
import code  # code.interact(local=dict(globals(), **locals()))
3
from pprint import pprint
4
import sys
5
import glob
6
from pprint import pprint
7
import code
8
import subprocess
9
import os
10
import time
11
import shutil
12

    
13
interval = 200
14
if len(sys.argv)>1:
15
    interval = int(sys.argv[1])
16

    
17
#code.interact(local=dict(globals(), **locals()))
18

    
19
for fold in sorted(glob.glob('out/nn*/')):
20
    pass
21
    #cmd = "python plotterBCrealization.py "+fold+" "+str(interval)
22
    cmd = "python timeAnalysis.py "+fold+" "+str(interval)
23
    print cmd
24
    #p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
25
    p = subprocess.Popen(cmd, shell=True)
26
    p.communicate()
27
    time.sleep(1)