Made split-alives have dynamic project root.
This commit is contained in:
parent
f3c4f7fa55
commit
7ecf70214d
|
|
@ -5,7 +5,8 @@ import csv
|
|||
import math
|
||||
import sys
|
||||
|
||||
PROJECT_ROOT = os.path.expanduser("~/proj/external-links-scrape")
|
||||
# Determine the project root dynamically
|
||||
PROJECT_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
INPUT_FILE = os.path.join(PROJECT_ROOT, "02-alive-check.csv")
|
||||
OUTPUT_FILES = [os.path.join(PROJECT_ROOT, f"target{i}.csv") for i in range(1, 4)]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue