mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-03-04 06:10:23 +01:00
add empty line between function headers
This commit is contained in:
parent
b8aff45d3b
commit
fdc9a975b9
@ -131,6 +131,8 @@ def recursive_populate_file(fname: str, paths: dict, detailed_source: dict) -> N
|
||||
populated_line = recursive_replace_line(line, triggers, detailed_source[item])
|
||||
f_out.write(populated_line)
|
||||
|
||||
f_out.write("\n")
|
||||
|
||||
|
||||
def recursive_replace_line (input_line: str, triggers: list, source: dict) -> str:
|
||||
"""
|
||||
@ -215,6 +217,8 @@ def iterative_populate_file (filename: str, paths: dict, groups: dict, datasets:
|
||||
else:
|
||||
f_out.write(line)
|
||||
|
||||
f_out.write("\n")
|
||||
|
||||
|
||||
def iterative_replace_line (input_line: str, case: str, source: dict, add_line: str) -> str:
|
||||
"""
|
||||
@ -403,6 +407,8 @@ def special_populate_text_group(fname: str, paths: dict, group_dict: dict, detai
|
||||
else:
|
||||
loop_body += line
|
||||
|
||||
f_out.write("\n")
|
||||
|
||||
|
||||
def get_template_path (filename: str, path_dict: dict) -> str:
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user