From e99053e3cf636f2da563814865d1ac775b3b4906 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Mon, 23 Mar 2020 11:18:27 +0100 Subject: [PATCH] rename --- app/corpora/cqi/models/subcorpora.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/corpora/cqi/models/subcorpora.py b/app/corpora/cqi/models/subcorpora.py index bb662d3e..b39f7554 100644 --- a/app/corpora/cqi/models/subcorpora.py +++ b/app/corpora/cqi/models/subcorpora.py @@ -62,7 +62,7 @@ class Subcorpus: 'right': list(range(match_end + 1, right_end))}) cpos_list = [] for match in matches: - cpos_list += match['left'] + match['hit'] + match['right'] + cpos_list += match['lc'] + match['hit'] + match['rc'] cpos_list = list(set(cpos_list)) lookups = {} if len(cpos_list) > 0: