예제 #1
0
파일: runxmds.py 프로젝트: fjarri/thesis
def getn(executable, n, **params):
	datasets = []
	for i in range(n):
		print "--- Getting", i, "-th set of results ---"
		res_file = resultn(executable, i, **params)
		if not os.path.exists(res_file):
			run(executable, res_file, **params)
		datasets.append(processData(res_file))
	return datasets
예제 #2
0
파일: runxmds.py 프로젝트: fjarri/thesis
def get(executable, **params):
	res_file = result(executable, **params)
	if not os.path.exists(res_file):
		run(executable, res_file, **params)
	return processData(res_file)