Skip to content


Browse files Browse the repository at this point in the history
[processing] In raster calculator, use filename without extension to …
…refer to layer
  • Loading branch information
volaya committed Dec 6, 2016
1 parent ec8aea2 commit 96b8a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/
Expand Up @@ -94,7 +94,7 @@ def processAlgorithm(self, progress):
layersDict = {}
if layersValue:
layers = [dataobjects.getObjectFromUri(f) for f in layersValue.split(";")]
layersDict = {os.path.basename(lyr.source()): lyr for lyr in layers}
layersDict = {os.path.basename(lyr.source().split(".")[0]): lyr for lyr in layers}

for lyr in dataobjects.getRasterLayers():
name =
Expand Down

0 comments on commit 96b8a90

Please sign in to comment.