From d31b83803a89f938c4b38f1d08d647ab143ac26b Mon Sep 17 00:00:00 2001 From: Alexander Bruy Date: Mon, 18 Feb 2013 13:53:45 +0400 Subject: [PATCH] disable SEXTANTE algorithms that require 3rd party Python modules --- python/plugins/sextante/algs/QGISAlgorithmProvider.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/python/plugins/sextante/algs/QGISAlgorithmProvider.py b/python/plugins/sextante/algs/QGISAlgorithmProvider.py index 13e636147381..e1340071a789 100644 --- a/python/plugins/sextante/algs/QGISAlgorithmProvider.py +++ b/python/plugins/sextante/algs/QGISAlgorithmProvider.py @@ -30,7 +30,7 @@ import os from PyQt4 import QtGui from sextante.algs.RasterLayerHistogram import RasterLayerHistogram -#from sextante.algs.StatisticsByCategories import StatisticsByCategories +from sextante.algs.StatisticsByCategories import StatisticsByCategories from sextante.algs.ftools.PointsInPolygon import PointsInPolygon from sextante.algs.ftools.PointsInPolygonUnique import PointsInPolygonUnique from sextante.algs.ftools.PointsInPolygonWeighted import PointsInPolygonWeighted @@ -119,10 +119,11 @@ def __init__(self): mmqgisx_select_algorithm(), mmqgisx_text_to_float_algorithm(), #raster - CreateConstantRaster(), RasterLayerStatistics(), + CreateConstantRaster(), RasterLayerStatistics() #graphics - VectorLayerHistogram(), VectorLayerScatterplot(), RasterLayerHistogram(), - MeanAndStdDevPlot(), BarPlot(), PolarPlot()] + #VectorLayerHistogram(), VectorLayerScatterplot(), RasterLayerHistogram(), + #MeanAndStdDevPlot(), BarPlot(), PolarPlot() + ] def initializeSettings(self): AlgorithmProvider.initializeSettings(self)