Skip to content

Commit

Permalink
Annotate with limitation text
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlul committed Oct 3, 2024
1 parent 7405e7b commit 5926c46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ def annotate_shared(document: Dict[str, Any], wikitext: Dict[str, str]) -> None:
document["ritual_spell"] = wikitext["ritualcard"]
if "materials" in wikitext:
document["materials"] = wikitext["materials"]
if "limitation_text" in wikitext:
document["limitation_text"] = wikitext["limitation_text"]
if "archseries" in wikitext:
# Convert bulleted list to array and remove " (archetype)"
document["series"] = [
Expand Down

0 comments on commit 5926c46

Please sign in to comment.