Skip to content
Permalink
Browse files

fix input parameter name

  • Loading branch information
root676 authored and nyalldawson committed Jul 2, 2020
1 parent bf3f75e commit 922586d103aadbe47b62d43556c59b832f519e52
@@ -89,7 +89,7 @@ QgsCellStatisticsAlgorithm *QgsCellStatisticsAlgorithm::createInstance() const

void QgsCellStatisticsAlgorithm::initAlgorithm( const QVariantMap & )
{
addParameter( new QgsProcessingParameterMultipleLayers( QStringLiteral( "INPUTS" ),
addParameter( new QgsProcessingParameterMultipleLayers( QStringLiteral( "INPUT" ),
QObject::tr( "Input layers" ), QgsProcessing::TypeRaster ) );

QStringList statistics = QStringList();
@@ -2175,7 +2175,7 @@ void TestQgsProcessingAlgs::cellStatistics()

QVariantMap parameters;

parameters.insert( QStringLiteral( "INPUTS" ), inputDatasetPaths );
parameters.insert( QStringLiteral( "INPUT" ), inputDatasetPaths );
parameters.insert( QStringLiteral( "STATISTIC" ), statistic );
parameters.insert( QStringLiteral( "IGNORE_NODATA" ), ignoreNoData );
parameters.insert( QStringLiteral( "REF_LAYER" ), myDataPath + referenceLayer );

0 comments on commit 922586d

Please sign in to comment.
You can’t perform that action at this time.