diff --git a/lectures/assignat.xlsx.yml b/lectures/assignat.xlsx.yml index 91b6de0..dd144e0 100644 --- a/lectures/assignat.xlsx.yml +++ b/lectures/assignat.xlsx.yml @@ -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 diff --git a/scripts/build_audit.py b/scripts/build_audit.py index 26bca89..6ef40d2 100644 --- a/scripts/build_audit.py +++ b/scripts/build_audit.py @@ -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 @@ -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