Skip to content

Commit a7c4674

Browse files
authored
Merge pull request #30 from cu-mkp/issue1469
Run new property count for issue #1469; tweak update.py print statements
2 parents ffc2410 + 6b37470 commit a7c4674

5 files changed

+15
-83
lines changed

manuscript_helpers.py

+2
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ def generate_complete_manuscript(apply_corrections=True) -> Dict[str, Recipe]:
116116
for filename in f: # iterate through /ms-xml/{version} folder
117117
# split folio by entry
118118
info = process_file(f'{dir_path}{filename}')
119+
print(f"Loading folio {filename}...")
119120
for identity, text in info.items(): # add each entry to dictionary
120121
entry_dict[identity] = text
121122

@@ -138,6 +139,7 @@ def generate_complete_manuscript(apply_corrections=True) -> Dict[str, Recipe]:
138139
old.versions['tl'] + '\n\n' + tl)
139140
else:
140141
entries[entry_id] = Recipe(entry_id, folio, tc, tcn, tl)
142+
print(f"Generating Recipe object for {entry_id}...")
141143

142144
# if specified, manually rewrite entry properties based on thesaurus.
143145
if apply_corrections:

0 commit comments

Comments
 (0)