Revision 1166 tmp/org.txm.analec.rcp/src/org/txm/macro/analec/edit/RetoucheComplementDuNomMacro.groovy

RetoucheComplementDuNomMacro.groovy (revision 1166)
41 41
CQI = CQPSearchEngine.getCqiClient()
42 42
word = corpus.getWordProperty()
43 43

  
44
analecCorpus = AnalecCorpora.getCorpus(corpus.getID())
45
vue = AnalecCorpora.getVue(corpus.getID())
44
analecCorpus = AnalecCorpora.getCorpus(corpus)
45
vue = AnalecCorpora.getVue(corpus)
46 46
structure = analecCorpus.getStructure()
47 47
if (!structure.getUnites().contains(unit_type)) { // check if the structure contains the unit_type units
48 48
	println "Error: corpus structure does not contains unit with name=$unit_type"

Also available in: Unified diff