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

CheckAnnotationStructureValuesMacro.groovy (revision 1166)
28 28
// END OF PARAMETERS
29 29

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

  
34 34
def unit_types = structure.getTypes(Unite.class);

Also available in: Unified diff