aboutsummaryrefslogtreecommitdiff
path: root/backend/hist_data/gen_events_data.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/hist_data/gen_events_data.py')
-rwxr-xr-xbackend/hist_data/gen_events_data.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/backend/hist_data/gen_events_data.py b/backend/hist_data/gen_events_data.py
index 3613dfb..60402b5 100755
--- a/backend/hist_data/gen_events_data.py
+++ b/backend/hist_data/gen_events_data.py
@@ -123,10 +123,6 @@ EVENT_CTG: dict[str, dict[str, str]] = {
},
}
ID_TO_CTG = {id: ctg for ctg, nmToId in EVENT_CTG.items() for name, id in nmToId.items()}
-EXCL_PROPS: dict[str, str] = {
- # Holds IDs and names of props that entities should not include
- 'P1441': 'present in work', # Present for fictional characters/etc
-}
BASIC_TIME_PROPS: dict[str, str] = {
# Maps some time-indicative property names to their IDs
'start time': 'P580',
@@ -273,10 +269,6 @@ def readDumpLine(lineBytes: bytes) -> tuple[int, str, int, int | None, int | Non
eventCtg = ID_TO_CTG[prop]
if not eventCtg:
return None
- # Check for excluded props
- for prop in claims:
- if prop in EXCL_PROPS:
- return None
# Check for event-start/end props
startVal: str
endVal: str | None