From e346e31049ee86d14abe709f83e4801740905182 Mon Sep 17 00:00:00 2001 From: Hao Xu Date: Sat, 18 Jul 2020 00:28:21 -0400 Subject: [PATCH] make max entries per row configurable --- features/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/model.py b/features/model.py index b37cb89d..4e86a1cd 100644 --- a/features/model.py +++ b/features/model.py @@ -188,7 +188,7 @@ def add_eps(a): return a + eps -MAX_ENTRIES_PER_ROW = 1664 +MAX_ENTRIES_PER_ROW = int(os.environ.get("MAX_ENTRIES_PER_ROW", "1664")) def select_feature_matrix(conn, table_name, year, cohort_features, feature_a, feature_b): table = tables[table_name]