Esempio n. 1
0
def main():
    recent_type, arg_paths = parse_args(sys.argv[1:])

    recent_subpath = os.path.join('brain', recent_type)
    try:
        run_paths = common_functions.find_run_paths(arg_paths, recent_subpath)
    except common_functions.InvalidDirError, e:
        show_usage(str(e))
def main():
	recent_type, arg_paths = parse_args(sys.argv[1:])
	
	recent_subpath = os.path.join('brain', recent_type)
	try:
		run_paths = common_functions.find_run_paths(arg_paths,
								recent_subpath)
	except common_functions.InvalidDirError, e:
		show_usage(str(e))
Esempio n. 3
0
def main():
	check_environment()

	complexities, recent_type, arg_paths = parse_args(sys.argv[1:])

	try:
		run_paths = common_functions.find_run_paths(arg_paths,
							    'brain/function/')
	except common_functions.InvalidDirError, e:
		show_usage(str(e))
Esempio n. 4
0
def main():
    check_environment()

    complexities, recent_type, arg_paths = parse_args(sys.argv[1:])

    try:
        run_paths = common_functions.find_run_paths(arg_paths,
                                                    'brain/function/')
    except common_functions.InvalidDirError, e:
        show_usage(str(e))