From: Pierre Ratinaud Date: Mon, 15 Sep 2014 20:26:28 +0000 (+0200) Subject: ... X-Git-Url: http://iramuteq.org/git?a=commitdiff_plain;h=c61d491dc3556fc4453ce732af7edfca2d24dc57;p=iramuteq ... --- diff --git a/corpus.py b/corpus.py index 0d661d6..69539d3 100644 --- a/corpus.py +++ b/corpus.py @@ -1309,6 +1309,7 @@ class BuildCorpus : class BuildSubCorpus(BuildCorpus): def __init__(self, corpus, parametres, dlg = None) : + print parametres log.info('begin subcorpus...') self.dlg = dlg self.ori = corpus @@ -1362,7 +1363,7 @@ class BuildSubCorpus(BuildCorpus): newuces = [] newpara = [] for et in uci.paras : - keepuces = [CopyUce(uce) for uce in uci.uces if uce.para == idpara] + keepuces = [CopyUce(uce) for uce in uci.uces if uce.ident in dictucekeep] idpara += 1 if keepuces != [] : newuces += keepuces