Commit 3cdcf268 authored by Rashad Kanavath's avatar Rashad Kanavath

if result is a layer, then open it

parent eb68b613
......@@ -272,4 +272,7 @@ class OTBAlgorithm(QgsProcessingAlgorithm):
OTBUtils.executeOtb(command, feedback)
result = {}
for out in self.destinationParameterDefinitions():
filePath = self.parameterAsOutputLayer(parameters, out.name(), context)
result[out.name()] = filePath
return result
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment