Currently, the filter dialog allows adding filters that have illegal filter values.
Test case: Buckeye corpus, filed as query string, output column Transcript, function MATCH(Transcript, "AH"). A filter MATCH(Transcript, "AH") does not equal "AH" is illegal, because MATCH() is a boolean function that doesn't match "AH".
Type ValueError
Message Filter value has to be either 'yes' or 'no'
classes.py, line 83: run
app.py, line 1295: <lambda>
session.py, line 359: aggregate_data
managers.py, line 685: process
managers.py, line 471: filter
filters.py, line 177: apply
filters.py, line 152: get_filter_string
filters.py, line 99: fix
> raise ValueError(S)
Currently, the filter dialog allows adding filters that have illegal filter values.
Test case:
Buckeye
corpus,filed
as query string, output columnTranscript
, functionMATCH(Transcript, "AH")
. A filterMATCH(Transcript, "AH") does not equal "AH"
is illegal, becauseMATCH()
is a boolean function that doesn't match"AH"
.