Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lectures/assignat.xlsx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ schema:
dtypes: [float64]
known_nulls_total: 0
description: monthly index aligned with the P:Q block above
# 14 further sheets ship with the workbook and are not read by any lecture:
# 15 further sheets ship with the workbook and are not read by any lecture:
# Intro, Fig6, Data2, Denomina, Dom-nat, Exchge, Exchge2, Exchge3,
# Inflatio, Metal, Mint, Ramel, Ramel2, Revoluti, Post-95.
# Kept as the authors assembled them -- they are the working provenance for
Expand Down
4 changes: 0 additions & 4 deletions scripts/build_audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,6 @@ def committed_referenced(repo: str, committed: list[str], all_refs: list[dict]):
"""Which committed data files does some lecture actually read?"""
referenced = set()
for path in committed:
base = Path(path).name
for r in all_refs:
if r["pattern"] == "embedded":
continue # a %%file cell shadows, it does not reference
Expand All @@ -319,9 +318,6 @@ def committed_referenced(repo: str, committed: list[str], all_refs: list[dict]):
elif r.get("gh_repo", "").lower() == repo.lower():
if r.get("path", "").strip("/") == path:
referenced.add(path)
elif r["pattern"] == "local-path" and r["repo"] == repo and \
Path(r["target"]).name == base:
referenced.add(path)
return referenced


Expand Down
Loading