Skip to content

Commit cb0fe03

Browse files
committed
didn't need to move data folder, DATA_PATH in script was relative not absolute...
1 parent 330cbb1 commit cb0fe03

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ dependencies = [
106106

107107
[tool.hatch.build.targets.wheel]
108108
packages = ["src/pfd_toolkit"]
109+
include = ["src/pfd_toolkit/data/*.csv"]
109110

110111
[project.urls]
111112
"Source" = "https://github.com/Sam-Osian/PFD-toolkit"

scripts/update_reports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from pfd_toolkit import PFDScraper
1010
from pathlib import Path
1111

12-
DATA_PATH = Path("/pdf_data/all_reports.csv")
12+
DATA_PATH = Path("./src/pfd_toolkit/data/all_reports.csv")
1313

1414
# -- INITIALISE SCRAPER ENGINE --
1515
scraper = PFDScraper()

0 commit comments

Comments
 (0)