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

NatureDuPremierMaillonMacro.groovy (revision 1166)
48 48
// END OF PARAMETERS
49 49

  
50 50
MainCorpus corpus = corpusViewSelection
51
def analecCorpus = AnalecCorpora.getCorpus(corpus.getID())
51
def analecCorpus = AnalecCorpora.getCorpus(corpus)
52 52

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

Also available in: Unified diff