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

NombreDeChainesMacro.groovy (revision 1166)
44 44
// END OF PARAMETERS
45 45

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

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

Also available in: Unified diff