Skip to content

Commit

Permalink
Reverting manual line formatting changes to allow next formatting cha…
Browse files Browse the repository at this point in the history
…nge to correctly handle ine length.
  • Loading branch information
mwaxmonsky committed Jul 25, 2023
1 parent 0cc6a53 commit f1ec6b1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/data/write_init_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f1ec6b1

Please sign in to comment.