Revision 1166 tmp/org.txm.analec.rcp/src/org/txm/macro/analec/exploit/mesures1/DensiteReferentielleMacro.groovy

DensiteReferentielleMacro.groovy (revision 1166)
29 29
// END OF PARAMETERS
30 30

  
31 31
MainCorpus corpus = corpusViewSelection
32
def analecCorpus = AnalecCorpora.getCorpus(corpus.getID());
32
def analecCorpus = AnalecCorpora.getCorpus(corpus);
33 33

  
34 34
// check unit parameters
35 35
if (!analecCorpus.getStructure().getUnites().contains(unit_type)) {

Also available in: Unified diff