def main():
"""
The user can provide the location of the config file as an argument.
If no location is specified, the default config file (experiment_parameters.cfg) is used.
"""
try:
config_filepath = sys.argv[1]
except:
print "\nUsing the default config file: experiment_parameters.cfg\n"
config_filepath = "experiment_parameters.cfg"
run_experiment(config_filepath)
评论列表
文章目录