Commits

Anonymous committed 19a89fa

Fix broken imports.

Comments (0)

Files changed (2)

django_lean/experiments/reports.py

             from numpy import mean, isnan
             from scipy.stats import ttest_ind
         except ImportError:
-            from experiments.stats import mean, isnan, ttest_ind 
+            from django_lean.experiments.stats import mean, isnan, ttest_ind 
         test_group_scores = self.__generate_scores(
             experiment, Participant.TEST_GROUP, report_date)
         control_group_scores = self.__generate_scores(

django_lean/experiments/significance.py

     try:
         from scipy.stats import chisqprob
     except ImportError:
-        from experiments.stats import chisqprob
+        from django_lean.experiments.stats import chisqprob
     num_rows = len(matrix)
     num_columns = len(matrix[0])