Skip to content

Commit

Permalink
Update FilterData.py
Browse files Browse the repository at this point in the history
subprocess lines deleted and fixed syntax error
  • Loading branch information
spono committed Nov 27, 2015
1 parent c10329e commit 41538e6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions python/plugins/processing/algs/lidar/fusion/FilterData.py
Expand Up @@ -26,7 +26,6 @@
__revision__ = '$Format:%H$'

import os
import subprocess
from processing.core.parameters import ParameterFile
from processing.core.parameters import ParameterNumber
from processing.core.outputs import OutputFile
Expand Down Expand Up @@ -59,7 +58,7 @@ def processAlgorithm(self, progress):
commands = [os.path.join(FusionUtils.FusionPath(), 'FilterData.exe')]
commands.append('/verbose')
self.addAdvancedModifiersToCommand(commands)
commands.append('outlier')
commands.append('/outlier')
commands.append(unicode(self.getParameterValue(self.VALUE)))
commands.append(unicode(self.getParameterValue(self.WINDOWSIZE)))
outFile = self.getOutputValue(self.OUTPUT)
Expand All @@ -71,5 +70,3 @@ def processAlgorithm(self, progress):
FusionUtils.createFileList(files)
commands.append(FusionUtils.tempFileListFilepath())
FusionUtils.runFusion(commands, progress)
p = subprocess.Popen(commands, shell=True)
p.wait()

0 comments on commit 41538e6

Please sign in to comment.