gkunter / coquery

Coquery is a free corpus query tool for linguists, lexicographers, translators, and anybody who wishes to search and analyse a text corpus.
GNU General Public License v3.0
18 stars 4 forks source link

G-test matrix broken #212

Closed gkunter closed 7 years ago

gkunter commented 7 years ago

Test case: Buckeye corpus, output columns Word, Age, Gender, query string research. The query returns 26 matches.

When trying to switch to the G-test matrix, an exception is raised:

Type: ValueError
Message: Length of values does not match length of index

 classes.py, line 79: run
   app.py, line 1143: <lambda>
     session.py, line 308: aggregate_data
       managers.py, line 520: process
         managers.py, line 818: summarize
           managers.py, line 798: matrix
           > raise ValueError('Length of values does not match length of ' 'index')