Skip to content
Permalink
Browse files

Indentation

  • Loading branch information
nyalldawson committed Jun 5, 2017
1 parent a951424 commit 937347582cceb003ebc3ebc51833bbd95b251bc6
@@ -274,7 +274,7 @@ def processAlgorithm(self, parameters, context, feedback):
func = getattr(self.module, 'processInputs')
func(self)
else:
self.processInputs(parameters,context)
self.processInputs(parameters, context)

if hasattr(self.module, 'processCommand'):
func = getattr(self.module, 'processCommand')
@@ -288,7 +288,7 @@ def processAlgorithm(self, parameters, context, feedback):
else:
self.processOutputs()
else:
self.processInputs(parameters,context)
self.processInputs(parameters, context)
self.processCommand()
self.processOutputs()

@@ -67,7 +67,7 @@ def processInputs(alg):
if cellsize:
command += ' res=' + str(cellsize)
else:
command += ' res=' + str(alg.getDefaultCellsize(parameters,context))
command += ' res=' + str(alg.getDefaultCellsize(parameters, context))
alignToResolution = alg.getParameterValue(alg.GRASS_REGION_ALIGN_TO_RESOLUTION)
if alignToResolution:
command += ' -a'
@@ -62,7 +62,7 @@ def processInputs(alg):
if cellsize:
command += ' res=' + str(cellsize)
else:
command += ' res=' + str(alg.getDefaultCellsize(parameters,context))
command += ' res=' + str(alg.getDefaultCellsize(parameters, context))
alignToResolution = alg.getParameterValue(alg.GRASS_REGION_ALIGN_TO_RESOLUTION)
if alignToResolution:
command += ' -a'
@@ -55,7 +55,7 @@ def processInputs(alg):
if cellsize:
command += ' res=' + str(cellsize)
else:
command += ' res=' + str(alg.getDefaultCellsize(parameters,context))
command += ' res=' + str(alg.getDefaultCellsize(parameters, context))
alignToResolution = alg.getParameterValue(alg.GRASS_REGION_ALIGN_TO_RESOLUTION)
if alignToResolution:
command += ' -a'
@@ -63,7 +63,7 @@ def processInputs(alg):
if cellsize:
command += ' res=' + str(cellsize)
else:
command += ' res=' + str(alg.getDefaultCellsize(parameters,context))
command += ' res=' + str(alg.getDefaultCellsize(parameters, context))
alignToResolution = alg.getParameterValue(alg.GRASS_REGION_ALIGN_TO_RESOLUTION)
if alignToResolution:
command += ' -a'
@@ -53,7 +53,7 @@ def processInputs(alg):
if cellsize:
command += ' res=' + str(cellsize)
else:
command += ' res=' + str(alg.getDefaultCellsize(parameters,context))
command += ' res=' + str(alg.getDefaultCellsize(parameters, context))
alignToResolution = alg.getParameterValue(alg.GRASS_REGION_ALIGN_TO_RESOLUTION)
if alignToResolution:
command += ' -a'
@@ -45,7 +45,7 @@ def processInputs(alg):
alg.exportedLayers[rstable]
)
alg.commands.append(command)
alg.processInputs(context,parameters)
alg.processInputs(context, parameters)


def processCommand(alg, parameters):
@@ -37,7 +37,7 @@ def processInputs(alg):
alg.exportedLayers[rstable]
)
alg.commands.append(command)
alg.processInputs(parameters,context)
alg.processInputs(parameters, context)


def processCommand(alg, parameters):
@@ -115,7 +115,7 @@ def processAlgorithm(self, parameters, context, feedback):
if cellsize:
command += ' res=' + str(cellsize)
else:
command += ' res=' + str(self.getDefaultCellsize(parameters,context))
command += ' res=' + str(self.getDefaultCellsize(parameters, context))
commands.append(command)

command = 'nviz7'

0 comments on commit 9373475

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