Ejemplo n.º 1
0
def write_mcfg(*args):
    run_params = args[0]
    ensem = args[1]
    lines = [""]
    lmc.params_to_lines(run_params, "variables", lines)
    lmc.params_to_lines(run_params, "vectors", lines)
    return lmc.write_mcfg(args[0], args[1], lines)
Ejemplo n.º 2
0
def write_mcfg(*args):
	run_params = args[0]
	ensem = args[1]
	lines = ['']
	lmc.params_to_lines(run_params, 'variables', lines)
	lmc.params_to_lines(run_params, 'functions', lines)
	lmc.params_to_lines(run_params, 'reactions', lines)
	lmc.params_to_lines(run_params, 'species', lines)
	return lmc.write_mcfg(args[0], args[1], lines)