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

DistanceInterMaillonnaireMacro.groovy (revision 1166)
43 43
if (!ParametersDialog.open(this)) return;
44 44

  
45 45
MainCorpus corpus = corpusViewSelection
46
def analecCorpus = AnalecCorpora.getCorpus(corpus.getID())
46
def analecCorpus = AnalecCorpora.getCorpus(corpus)
47 47

  
48 48
// check Schema parameters
49 49
if (!analecCorpus.getStructure().getSchemas().contains(schema_type)) {

Also available in: Unified diff