Skip to content

Commit 7ff5a69

Browse files
committed
report_automation
1 parent ac22fb5 commit 7ff5a69

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

scripts/shared.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ def setup(current_file):
269269
return logger, paths
270270

271271

272+
# def section_order():
273+
274+
272275
def update_readme(
273276
args,
274277
section_title,
@@ -299,12 +302,12 @@ def update_readme(
299302
readme_path = path_join(paths["data"], args.quarter, "README.md")
300303

301304
# Define section markers for each data source
302-
section_start_line = f"<!-- {section_title} Start -->\n"
303-
section_end_line = f"<!-- {section_title} End -->\n"
305+
section_start_line = f"<!-- section start {section_title} -->\n"
306+
section_end_line = f"<!-- section end {section_title} -->\n"
304307

305308
# Define entry markers for each plot (optional) and description
306-
entry_start_line = f"<!-- {entry_title} Start -->\n"
307-
entry_end_line = f"<!-- {entry_title} End -->\n"
309+
entry_start_line = f"<!-- entry start {entry_title} -->\n"
310+
entry_end_line = f"<!-- entry end {entry_title} -->\n"
308311

309312
if os.path.exists(readme_path):
310313
with open(readme_path, "r", encoding="utf-8") as f:

0 commit comments

Comments
 (0)