We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 74826dc commit c63df20Copy full SHA for c63df20
python/plugins/processing/algs/grass7/Grass7Algorithm.py
@@ -267,7 +267,7 @@ def getDefaultCellSize(self):
267
layers = [l for l in self.inputLayers if isinstance(l, QgsRasterLayer)]
268
269
# Use this function to calculate cell size
270
- cz = lambda l, cellsize: max(cellsize, (l.extent().xMaximum() - l.extent().xMinimum()) / l.width())
+ def cz(l, cellsize): return max(cellsize, (l.extent().xMaximum() - l.extent().xMinimum()) / l.width())
271
272
for layer in layers:
273
cellsize = cz(layer, cellsize)
0 commit comments