Skip to content

Commit b312235

Browse files
committedJun 2, 2016
fix indentation
1 parent 568ddb3 commit b312235

File tree

12 files changed

+28
-20
lines changed

12 files changed

+28
-20
lines changed
 

‎python/plugins/processing/algs/lidar/lastools/lascontrol.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
from processing.core.parameters import ParameterBoolean
3333
from processing.core.parameters import ParameterSelection
3434

35+
3536
class lascontrol(LAStoolsAlgorithm):
3637

3738
CONTROL_POINT_FILE = "CONTROL_POINT_FILE"
@@ -46,9 +47,9 @@ def defineCharacteristics(self):
4647
self.addParametersVerboseGUI()
4748
self.addParametersPointInputGUI()
4849
self.addParameter(ParameterFile(lascontrol.CONTROL_POINT_FILE,
49-
self.tr("ASCII text file of control points"), False, False))
50+
self.tr("ASCII text file of control points"), False, False))
5051
self.addParameter(ParameterString(lascontrol.PARSE_STRING,
51-
self.tr("parse string marking which columns are xyz (use 's' for skip)"), "sxyz", False, False))
52+
self.tr("parse string marking which columns are xyz (use 's' for skip)"), "sxyz", False, False))
5253
self.addParameter(ParameterSelection(lascontrol.USE_POINTS,
5354
self.tr("which points to use for elevation checks"), lascontrol.USE_POINTS_LIST, 0))
5455
self.addParameter(ParameterBoolean(lascontrol.ADJUST_Z,

‎python/plugins/processing/algs/lidar/lastools/lasdiff.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
from processing.core.parameters import ParameterBoolean
3232
from processing.core.parameters import ParameterSelection
3333

34+
3435
class lasdiff(LAStoolsAlgorithm):
3536

3637
OTHER_POINT_FILE = "OTHER_POINT_FILE"
@@ -44,7 +45,7 @@ def defineCharacteristics(self):
4445
self.addParametersVerboseGUI()
4546
self.addParametersPointInputGUI()
4647
self.addParameter(ParameterFile(lasdiff.OTHER_POINT_FILE,
47-
self.tr("other input LAS/LAZ file"), False, False))
48+
self.tr("other input LAS/LAZ file"), False, False))
4849
self.addParameter(ParameterSelection(lasdiff.SHUTUP,
4950
self.tr("stop reporting difference after this many points"), lasdiff.SHUTUP_AFTER, 0))
5051
self.addParameter(ParameterBoolean(lasdiff.CREATE_DIFFERENCE_FILE,

‎python/plugins/processing/algs/lidar/lastools/lasgroundPro_new.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ def defineCharacteristics(self):
5454
self.addParameter(ParameterSelection(lasgroundPro_new.GRANULARITY,
5555
self.tr("preprocessing"), lasgroundPro_new.GRANULARITIES, 1))
5656
self.addParameter(ParameterNumber(lasgroundPro_new.STEP,
57-
self.tr("step (for 'custom' terrain only)"), 25.0))
57+
self.tr("step (for 'custom' terrain only)"), 25.0))
5858
self.addParameter(ParameterNumber(lasgroundPro_new.BULGE,
59-
self.tr("bulge (for 'custom' terrain only)"), 2.0))
59+
self.tr("bulge (for 'custom' terrain only)"), 2.0))
6060
self.addParameter(ParameterNumber(lasgroundPro_new.SPIKE,
61-
self.tr("spike (for 'custom' terrain only)"), 1.0))
61+
self.tr("spike (for 'custom' terrain only)"), 1.0))
6262
self.addParameter(ParameterNumber(lasgroundPro_new.DOWN_SPIKE,
63-
self.tr("down spike (for 'custom' terrain only)"), 1.0))
63+
self.tr("down spike (for 'custom' terrain only)"), 1.0))
6464
self.addParameter(ParameterNumber(lasgroundPro_new.OFFSET,
65-
self.tr("offset (for 'custom' terrain only)"), 0.05))
65+
self.tr("offset (for 'custom' terrain only)"), 0.05))
6666
self.addParametersOutputDirectoryGUI()
6767
self.addParametersOutputAppendixGUI()
6868
self.addParametersPointOutputFormatGUI()

‎python/plugins/processing/algs/lidar/lastools/lasground_new.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ def defineCharacteristics(self):
5454
self.addParameter(ParameterSelection(lasground_new.GRANULARITY,
5555
self.tr("preprocessing"), lasground_new.GRANULARITIES, 1))
5656
self.addParameter(ParameterNumber(lasground_new.STEP,
57-
self.tr("step (for 'custom' terrain only)"), 25.0))
57+
self.tr("step (for 'custom' terrain only)"), 25.0))
5858
self.addParameter(ParameterNumber(lasground_new.BULGE,
59-
self.tr("bulge (for 'custom' terrain only)"), 2.0))
59+
self.tr("bulge (for 'custom' terrain only)"), 2.0))
6060
self.addParameter(ParameterNumber(lasground_new.SPIKE,
61-
self.tr("spike (for 'custom' terrain only)"), 1.0))
61+
self.tr("spike (for 'custom' terrain only)"), 1.0))
6262
self.addParameter(ParameterNumber(lasground_new.DOWN_SPIKE,
63-
self.tr("down spike (for 'custom' terrain only)"), 1.0))
63+
self.tr("down spike (for 'custom' terrain only)"), 1.0))
6464
self.addParameter(ParameterNumber(lasground_new.OFFSET,
65-
self.tr("offset (for 'custom' terrain only)"), 0.05))
65+
self.tr("offset (for 'custom' terrain only)"), 0.05))
6666
self.addParametersPointOutputGUI()
6767
self.addParametersAdditionalGUI()
6868

‎python/plugins/processing/algs/lidar/lastools/lasheightPro_classify.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
from processing.core.parameters import ParameterNumber
3232
from processing.core.parameters import ParameterSelection
3333

34+
3435
class lasheightPro_classify(LAStoolsAlgorithm):
3536

3637
REPLACE_Z = "REPLACE_Z"

‎python/plugins/processing/algs/lidar/lastools/lasheight_classify.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
from processing.core.parameters import ParameterNumber
3232
from processing.core.parameters import ParameterSelection
3333

34+
3435
class lasheight_classify(LAStoolsAlgorithm):
3536

3637
REPLACE_Z = "REPLACE_Z"

‎python/plugins/processing/algs/lidar/lastools/laspublish.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
from processing.core.parameters import ParameterString
3333
from processing.core.parameters import ParameterFile
3434

35+
3536
class laspublish(LAStoolsAlgorithm):
3637

3738
MODE = "MODE"
@@ -69,7 +70,7 @@ def defineCharacteristics(self):
6970
self.addParameter(ParameterBoolean(laspublish.OVERWRITE_EXISTING,
7071
self.tr("overwrite existing files"), True))
7172
self.addParameter(ParameterString(laspublish.PORTAL_HTML_PAGE,
72-
self.tr("portal HTML page"), "portal.html", False))
73+
self.tr("portal HTML page"), "portal.html", False))
7374
self.addParameter(ParameterString(laspublish.PORTAL_TITLE,
7475
self.tr("portal title"), "My LiDAR Portal"))
7576
self.addParameter(ParameterString(laspublish.PORTAL_DESCRIPTION,

‎python/plugins/processing/algs/lidar/lastools/laspublishPro.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
from processing.core.parameters import ParameterString
3333
from processing.core.parameters import ParameterFile
3434

35+
3536
class laspublishPro(LAStoolsAlgorithm):
3637

3738
MODE = "MODE"
@@ -69,7 +70,7 @@ def defineCharacteristics(self):
6970
self.addParameter(ParameterBoolean(laspublishPro.OVERWRITE_EXISTING,
7071
self.tr("overwrite existing files"), True))
7172
self.addParameter(ParameterString(laspublishPro.PORTAL_HTML_PAGE,
72-
self.tr("portal HTML page"), "portal.html", False))
73+
self.tr("portal HTML page"), "portal.html", False))
7374
self.addParameter(ParameterString(laspublishPro.PORTAL_TITLE,
7475
self.tr("portal title"), "My LiDAR Portal"))
7576
self.addParameter(ParameterString(laspublishPro.PORTAL_DESCRIPTION,

‎python/plugins/processing/algs/lidar/lastools/lasthin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def processAlgorithm(self, progress):
7878
if operation != 0:
7979
commands.append("-" + self.OPERATIONS[operation])
8080
if (operation >= 4):
81-
commands.append(unicode(self.getParameterValue(lasthin.THRESHOLD_OR_INTERVAL)))
81+
commands.append(unicode(self.getParameterValue(lasthin.THRESHOLD_OR_INTERVAL)))
8282
if self.getParameterValue(lasthin.WITHHELD):
8383
commands.append("-withheld")
8484
if self.getParameterValue(lasthin.CLASSIFY_AS):

‎python/plugins/processing/algs/lidar/lastools/lasthinPro.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def processAlgorithm(self, progress):
8181
if (operation != 0):
8282
commands.append("-" + self.OPERATIONS[operation])
8383
if (operation >= 4):
84-
commands.append(unicode(self.getParameterValue(lasthinPro.THRESHOLD_OR_INTERVAL)))
84+
commands.append(unicode(self.getParameterValue(lasthinPro.THRESHOLD_OR_INTERVAL)))
8585
if self.getParameterValue(lasthinPro.WITHHELD):
8686
commands.append("-withheld")
8787
if self.getParameterValue(lasthinPro.CLASSIFY_AS):

‎python/plugins/processing/algs/lidar/lastools/lastile.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
from processing.core.parameters import ParameterBoolean
3131
from processing.core.parameters import ParameterNumber
3232

33+
3334
class lastile(LAStoolsAlgorithm):
3435

3536
TILE_SIZE = "TILE_SIZE"
@@ -49,9 +50,9 @@ def defineCharacteristics(self):
4950
self.tr("buffer around each tile"),
5051
0.0, None, 25.0))
5152
self.addParameter(ParameterBoolean(lastile.FLAG_AS_WITHHELD,
52-
self.tr("flag buffer points as 'withheld' for easier removal later"), True))
53+
self.tr("flag buffer points as 'withheld' for easier removal later"), True))
5354
self.addParameter(ParameterBoolean(lastile.REVERSIBLE,
54-
self.tr("make tiling reversible (advanced, usually not needed)"), False))
55+
self.tr("make tiling reversible (advanced, usually not needed)"), False))
5556
self.addParametersPointOutputGUI()
5657
self.addParametersAdditionalGUI()
5758

‎python/plugins/processing/algs/lidar/lastools/lastilePro.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
from processing.core.parameters import ParameterNumber
3232
from processing.core.parameters import ParameterString
3333

34+
3435
class lastilePro(LAStoolsAlgorithm):
3536

3637
TILE_SIZE = "TILE_SIZE"
@@ -52,7 +53,7 @@ def defineCharacteristics(self):
5253
self.tr("buffer around each tile (avoids edge artifacts)"),
5354
0.0, None, 25.0))
5455
self.addParameter(ParameterBoolean(lastilePro.FLAG_AS_WITHHELD,
55-
self.tr("flag buffer points as 'withheld' for easier removal later"), True))
56+
self.tr("flag buffer points as 'withheld' for easier removal later"), True))
5657
self.addParameter(ParameterBoolean(lastilePro.EXTRA_PASS,
5758
self.tr("more than 2000 tiles"), False))
5859
self.addParametersOutputDirectoryGUI()

0 commit comments

Comments
 (0)
Please sign in to comment.