Skip to content

Commit e0254f2

Browse files
committed
Add in writing to file step
1 parent f61af4b commit e0254f2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/source-id-landing-pages/auto-generate-source-id-pages.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ def get_assumed_unique_value(invs: list[Any]) -> Any:
7373
f"- contact: {info['contact']}",
7474
f"- further_info_url: {info['further_info_url']}",
7575
]
76+
with open(HERE / source_id_filename, "w") as fh:
77+
fh.write("\n".join(to_write))
7678

7779
citation_info = {}
7880
contributors_l = []
@@ -122,7 +124,7 @@ def get_assumed_unique_value(invs: list[Any]) -> Any:
122124
if creation_years:
123125
creation_year = get_assumed_unique_value(creation_years)
124126
else:
125-
breakpoint()
127+
raise NotImplementedError
126128

127129
creation_dates = (
128130
db_source_id["creation_date"]

0 commit comments

Comments
 (0)