Skip to content
Snippets Groups Projects
Commit 4a5e1a2b authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Call configuration object by correct name in model_maker.py::write_legacy_gconf()

parent 11abd220
No related branches found
No related tags found
No related merge requests found
...@@ -877,10 +877,10 @@ def write_legacy_gconf(conf): ...@@ -877,10 +877,10 @@ def write_legacy_gconf(conf):
output.write(str_line) output.write(str_line)
str_line = " {0:d}\n0\n".format(conf['jwtm']) str_line = " {0:d}\n0\n".format(conf['jwtm'])
output.write(str_line) output.write(str_line)
if (gconf['use_refinement']): if (conf['use_refinement']):
str_line = "USE_REFINEMENT=1\n" str_line = "USE_REFINEMENT=1\n"
output.write(str_line) output.write(str_line)
if (not gconf['dyn_orders']): if (not conf['dyn_orders']):
str_line = "USE_DYN_ORDER=0\n" str_line = "USE_DYN_ORDER=0\n"
output.write(str_line) output.write(str_line)
output.close() output.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment