Skip to content

Commit

Permalink
fixed some GRASS descriptions
Browse files Browse the repository at this point in the history
fixed problem with defautl values in parameterRange

git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@209 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf committed Jun 1, 2012
1 parent 31fa01c commit 228288c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/sextante/grass/description/v.buffer.column.txt
@@ -1,4 +1,4 @@
v.buffer.column
v.buffer
v.buffer.column - Creates a buffer around features of given type.
Vector (v.*)
ParameterVector|input|Name of input vector map|-1|False
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/v.buffer.distance.txt
@@ -1,4 +1,4 @@
v.buffer.distance
v.buffer
v.buffer.distance - Creates a buffer around features of given type.
Vector (v.*)
ParameterVector|input|Name for input vector map|-1|False
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/v.surf.rst.cvdev.txt
@@ -1,4 +1,4 @@
v.surf.rst.cvdev
v.surf.rst
v.surf.rst.cvdev - Spatial approximation and topographic analysis using regularized spline with tension.
Vector (v.*)
ParameterVector|input|input|0|False
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/v.to.rast.attribute.txt
@@ -1,4 +1,4 @@
v.to.rast.attribute
v.to.rast
v.to.rast.attribute - Converts (rasterize) a vector map into a raster map.
Vector (v.*)
ParameterVector|input|input|-1|False
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/grass/description/v.to.rast.value.txt
@@ -1,4 +1,4 @@
v.to.rast.value
v.to.rast
v.to.rast.value - Converts (rasterize) a vector map into a raster map.
Vector (v.*)
ParameterVector|input|input|-1|False
Expand Down
5 changes: 4 additions & 1 deletion src/sextante/parameters/ParameterRange.py
Expand Up @@ -27,4 +27,7 @@ def getValueAsCommandLineParameter(self):

def deserialize(self, s):
tokens = s.split("|")
return ParameterRange(tokens[0], tokens[1])
if len(tokens) == 3:
return ParameterRange(tokens[0], tokens[1], tokens[2])
else:
return ParameterRange(tokens[0], tokens[1])

0 comments on commit 228288c

Please sign in to comment.