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

CategorieGrammaticaleMacro.groovy (revision 1166)
52 52
// END OF PARAMETERS
53 53

  
54 54
MainCorpus corpus = corpusViewSelection
55
def analecCorpus = AnalecCorpora.getCorpus(corpus.getID())
55
def analecCorpus = AnalecCorpora.getCorpus(corpus)
56 56

  
57 57
if (!analecCorpus.getStructure().getSchemas().contains(schema_type)) {
58 58
	println "No schema with name=$schema_type"

Also available in: Unified diff