Skip to content
Permalink
Browse files

Update FilterData.py

subprocess lines deleted and fixed syntax error
  • Loading branch information
spono committed Nov 27, 2015
1 parent c10329e commit 41538e6dec90f758739735bcf298463169c23119
Showing with 1 addition and 4 deletions.
  1. +1 −4 python/plugins/processing/algs/lidar/fusion/FilterData.py
@@ -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
@@ -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)
@@ -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.
You can’t perform that action at this time.