コード例 #1
0
def make_dag_directories(top_level_directory, config_parser):
	cwd = os.getcwd()
	power.make_dir_if_not_exists(top_level_directory)
	os.chdir(top_level_directory)
	power.make_dag_directories(config_parser)
	# FIXME:  move this into make_dag_directories().  requires update
	# of excess power and gstlal dags
	power.make_dir_if_not_exists(power.get_triggers_dir(config_parser))
	os.chdir(cwd)
コード例 #2
0
def make_dag_directories(top_level_directory, config_parser):
    cwd = os.getcwd()
    power.make_dir_if_not_exists(top_level_directory)
    os.chdir(top_level_directory)
    power.make_dag_directories(config_parser)
    # FIXME:  move this into make_dag_directories().  requires update
    # of excess power and gstlal dags
    power.make_dir_if_not_exists(power.get_triggers_dir(config_parser))
    os.chdir(cwd)