Skip to content


Browse files Browse the repository at this point in the history
[Processing] Manage default value for parameter
To finalize commit 3472ac8 update processing to well manage default value
  • Loading branch information
rldhont committed Dec 24, 2015
1 parent 2415e37 commit 7754f17
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 70 deletions.
2 changes: 1 addition & 1 deletion python/plugins/processing/core/
Expand Up @@ -299,7 +299,7 @@ def runAlgorithm(algOrName, onFinish, *args, **kwargs):
# fill any missing parameters with default values if allowed
for param in alg.parameters:
if not in setParams:
if not param.setValue(None):
if not param.setDefaultValue():
print ('Error: Missing parameter value for parameter %s.' % (
QgsMessageLog.logMessage('Error: Missing parameter value for parameter {0}.').format(,"Processing"))
Expand Down

0 comments on commit 7754f17

Please sign in to comment.