Revision 736 tmp/org.txm.analec.rcp/src/org/txm/macro/analec/exploit/SchemasProgressionMacro.groovy

SchemasProgressionMacro.groovy (revision 736)
187 187

  
188 188
def corpus = parent
189 189
try {
190
	def struct = corpus.getStructuralUnit(struct_name)
191
	def struct_p = struct.getProperty(struct_prop)
192

  
190
	def struct = corpus.getStructuralUnit(struct_name);
191
	def struct_p = null;
192
	if (struct != null) {
193
		struct_p = struct.getProperty(struct_prop)
194
	}
195
	
193 196
	Progression progression = new Progression(corpus, queries,
194 197
			struct, struct_p,	".*",
195 198
			cummulative, false, false,

Also available in: Unified diff