From 6f34c4c3aafee39f8c7ec41a7777c194443a27fa Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Tue, 3 Jan 2023 01:31:19 +1100 Subject: Extend gen_pageview_data.py to handle problematic lines --- backend/hist_data/gen_events_data.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'backend/hist_data/gen_events_data.py') diff --git a/backend/hist_data/gen_events_data.py b/backend/hist_data/gen_events_data.py index 51d6940..deaf794 100755 --- a/backend/hist_data/gen_events_data.py +++ b/backend/hist_data/gen_events_data.py @@ -59,6 +59,8 @@ Info about objects with type 'quantity' can be found at: https://www.wikidata.or # - Using pool.map() instead of pool.imap_unordered(), which seems to hang in some cases (was using python 3.8). # Possibly related: https://github.com/python/cpython/issues/72882 +# Took about 4.5 hours to run + # Code used in unit testing (for resolving imports of modules within this directory) import os, sys parentDir = os.path.dirname(os.path.realpath(__file__)) -- cgit v1.2.3