From f1ec6b120609f3abf35f7178ae141bca77b04c71 Mon Sep 17 00:00:00 2001 From: Michael Waxmonsky Date: Tue, 25 Jul 2023 13:28:48 -0600 Subject: [PATCH] Reverting manual line formatting changes to allow next formatting change to correctly handle ine length. --- src/data/write_init_files.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/data/write_init_files.py b/src/data/write_init_files.py index 1df9c52c..b2d6f634 100644 --- a/src/data/write_init_files.py +++ b/src/data/write_init_files.py @@ -970,10 +970,7 @@ def write_phys_read_subroutine(outfile, host_dict, host_vars, host_imports, outfile.write("call endrun(constituent_errmsg)", 8) outfile.write("end if", 7) outfile.write("if (constituent_has_default) then", 7) - outfile.write("call const_props(constituent_idx)%default_value( &", 8) - outfile.write("constituent_default_value, &", 19) - outfile.write("constituent_errflg, & ", 19) - outfile.write("constituent_errmsg)", 19) + outfile.write("call const_props(constituent_idx)%default_value(constituent_default_value, constituent_errflg, constituent_errmsg)", 8) outfile.write("if (constituent_errflg .ne. 0) then", 8) outfile.write("call endrun(constituent_errmsg)", 9) outfile.write("end if", 8)