def rdiv(): lst = [] def striplines(line): listedline = line.strip().split(',') # split around the = sign listedline[0] = listedline[0][2:-1] lists = [listedline[0]] for ll in listedline[1:-1]: lists.append(float(ll)) return lists f = open('./jedit.dat') for line in f: lst.append(striplines(line[:-1])) rdivDemo(lst, isLatex=False) set_trace()
def _test(file='ant'): rseed(1) for file in ['ivy', 'lucene', 'jedit', 'poi', 'ant']: print('## %s\n' % (file)) R = [r for r in run(dataName=file, reps=40).go()] rdivDemo(R, isLatex=False)