Revision 946 org.gvsig.scripting/trunk/org.gvsig.scripting/org.gvsig.scripting.app/org.gvsig.scripting.app.mainplugin/src/main/resources-plugin/scripting/lib/gvsig/libs/gvpy.py
gvpy.py | ||
---|---|---|
419 | 419 |
else: |
420 | 420 |
raise Exception("No valid path") |
421 | 421 |
if DEV_INFO: print "| PATH: Good path" |
422 |
|
|
422 | 423 |
elif outputSet.getOutputDataObjectsCount() > 1 and isinstance(path, list): |
423 | 424 |
for n in xrange(0, outputSet.getOutputDataObjectsCount()): |
424 | 425 |
out1 = outputSet.getOutput(n) |
... | ... | |
428 | 429 |
if DEV_INFO: print "| PATH: Good path" |
429 | 430 |
else: |
430 | 431 |
raise Exception("Bad path") |
431 |
|
|
432 |
elif algorithm.getOutputObjects().getOutputObjectsCount()==0: |
|
433 |
if DEV_INFO: print "| Without output layers" |
|
432 | 434 |
elif algorithm.getOutputObjects().getOutput(0).getOutputChannel(): |
433 | 435 |
output0 = algorithm.getOutputObjects().getOutput(0) |
434 | 436 |
out0 = output0.getOutputChannel() |
Also available in: Unified diff