Skip to content
Permalink
Browse files
[processing] some file restructuring
  • Loading branch information
volaya committed Jun 10, 2014
1 parent 0009040 commit ae47c1a3973d777ea364e6393d8bb4d107495b53
@@ -10,7 +10,6 @@ ADD_SUBDIRECTORY(parameters)
ADD_SUBDIRECTORY(script)
ADD_SUBDIRECTORY(tools)
ADD_SUBDIRECTORY(tests)
ADD_SUBDIRECTORY(exampleprovider)

FILE(GLOB UI_FILES ui/*.ui)
PYQT4_WRAP_UI(PYUI_FILES ${UI_FILES})
@@ -9,5 +9,6 @@ ADD_SUBDIRECTORY(taudem)
ADD_SUBDIRECTORY(lidar)
ADD_SUBDIRECTORY(qgis)
ADD_SUBDIRECTORY(r)
ADD_SUBDIRECTORY(exampleprovider)

PLUGIN_INSTALL(processing algs ${PY_FILES})
@@ -0,0 +1,4 @@
FILE(GLOB PY_FILES *.py)
FILE(GLOB OTHER_FILES *.txt)

PLUGIN_INSTALL(processing ./algs/exampleprovider ${PY_FILES} ${OTHER_FILES})
@@ -38,7 +38,7 @@
from processing.gui.AlgorithmClassification import AlgorithmDecorator
from processing.gui.MessageBarProgress import MessageBarProgress
from processing.gui.RenderingStyles import RenderingStyles
from processing.gui.Postprocessing import Postprocessing
from processing.gui.Postprocessing import handleAlgorithmResults
from processing.gui.UnthreadedAlgorithmExecutor import \
UnthreadedAlgorithmExecutor
from processing.modeler.Providers import Providers
@@ -275,8 +275,7 @@ def getObject(uri):

@staticmethod
def runandload(name, *args):
Processing.runAlgorithm(name, Postprocessing.handleAlgorithmResults,
*args)
Processing.runAlgorithm(name, handleAlgorithmResults, *args)

@staticmethod
def runAlgorithm(algOrName, onFinish, *args):

This file was deleted.

This file was deleted.

0 comments on commit ae47c1a

Please sign in to comment.