Commit 75905614 authored by sparonuz's avatar sparonuz
Browse files

Really was lucking a new line at the en of file.

parent e7dba4e0
......@@ -129,12 +129,12 @@ class Vault:
assigned_rpe_vars = sorted(assigned_rpe_vars, key=lambda x: x.id)
line_text = "emulator_variable_precisions(%d) = %d\t! Variable:%24s\tRoutine:%22s\tModule:%16s\n"
with open(filename, "w") as namelist:
namelist.write("\n&precisions\n")
namelist.write("! namelist variable precisions\n&precisions\n")
for var in assigned_rpe_vars:
if var.precision == 52 and exclude_double_precision:
continue
namelist.write(line_text % (var.id, var.precision, var.name, var.routine.name, var.routine.module.name))
namelist.write("/")
namelist.write("/\n")
class Module:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment