Skip to content
Permalink
Browse files

* Add new GRASS 7.2 algorithms.

* Fix ParameterRange GUI.
* Fix Multiple values Enum support.
  • Loading branch information
Médéric RIBREUX
Médéric RIBREUX committed Nov 4, 2017
1 parent 6c81895 commit aa17df1a55bbdb35b395b844a46e91f9a35c9337
@@ -399,10 +399,10 @@ def processInputs(self, parameters, context):
layerName = '{}_{}'.format(paramName, idx)
# Add a raster layer
if layer.type() == QgsMapLayer.RasterLayer:
self.exportRasterLayer(layerName, layer)
self.loadRasterLayer(layerName, layer)
# Add a vector layer
elif layer.type() == QgsMapLayer.VectorLayer:
self.exportVectorLayer(layerName, layer)
self.loadVectorLayer(layerName, layer)

self.postInputs()

@@ -531,7 +531,7 @@ def processCommand(self, parameters, context, delOutputs=False):
self.parameterAsFileOutput(
parameters, outName, context))
# For folders destination
if isinstance(out, QgsProcessingParameterFolderDestination):
elif isinstance(out, QgsProcessingParameterFolderDestination):
# We need to add a unique temporary basename
uniqueBasename = outName + self.uniqueSuffix
command += ' {}={}'.format(outName, uniqueBasename)

0 comments on commit aa17df1

Please sign in to comment.
You can’t perform that action at this time.