Skip to content
Permalink
Browse files

[processing] add layer and field names to the statistics output (fix #…

  • Loading branch information
alexbruy committed Jan 15, 2016
1 parent 322e511 commit 4451f29846ecc49f9cd59250b10b03b36d8b95a8
@@ -145,6 +145,8 @@ def processAlgorithm(self, progress):
iqr = stat.interQuartileRange()

data = []
data.append('Analyzed layer: ' + layer.name())
data.append('Analyzed field: ' + fieldName)
data.append('Count: ' + unicode(count))
data.append('Unique values: ' + unicode(uniqueValue))
data.append('Minimum value: ' + unicode(minValue))
@@ -125,6 +125,8 @@ def processAlgorithm(self, progress):
uniqueValues = vector.getUniqueValuesCount(layer, index)

data = []
data.append('Analyzed layer: ' + layer.name())
data.append('Analyzed field: ' + fieldName)
data.append('Minimum length: ' + unicode(minValue))
data.append('Maximum length: ' + unicode(maxValue))
data.append('Mean length: ' + unicode(meanValue))

0 comments on commit 4451f29

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