Commit 2b57f633 authored by sim's avatar sim

[FIX] Forgotten imports of settings

parent a56f236b
......@@ -42,8 +42,8 @@ def scheduled_celery(func):
return go
from gargantext.settings import DEBUG
if DEBUG:
from django.conf import settings
if settings.DEBUG:
# scheduled = scheduled_now
scheduled = scheduled_thread
else:
......
......@@ -2,7 +2,6 @@
COOCS
(this is the full SQL version, should be more reliable on outerjoin)
"""
from gargantext import settings
from sqlalchemy import exc
from gargantext.util.lists import WeightedMatrix
from gargantext.util.db import get_engine
......@@ -112,7 +111,7 @@ def compute_coocs( corpus,
-- GROUP BY ngA, ngB
)
"""
# 3) taking the cooccurrences of ngram x2
ngram_filter_A_sql += """
-- STEP 1: X axis of the matrix
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment