def initialise(transform, normalize, pattern): global TRANSFORMS_TESTINFO for fname in matching_inputs(pattern): outname = '%s.out' % fname.split('.')[0] #print transform, fname, outname TRANSFORMS_TESTINFO += ((transform, fname, outname, normalize, 0), )
def initialise(transform, normalize, pattern): global TRANSFORMS_TESTINFO for fname in matching_inputs(pattern): outname = '%s.out' % fname.split('.')[0] #print transform, fname, outname TRANSFORMS_TESTINFO += ((transform, fname, outname, normalize, 0),)