Skip to content
Browse files
Merge pull request #7333 from Gustry/script_template
add warning about print() and how to load layers in Processing algs
  • Loading branch information
m-kuhn committed Jul 18, 2018
2 parents d43f1a2 + 0685197 commit 60d2cd3ca376ec009bdfd0ef6d2620c8730b7dff
Showing with 3 additions and 0 deletions.
  1. +3 −0 python/plugins/processing/script/
@@ -149,6 +149,9 @@ def processAlgorithm(self, parameters, context, feedback):

# Send some information to the user
feedback.pushInfo('CRS is {}'.format(source.sourceCrs().authid()))

# If sink was not created, throw an exception to indicate that the algorithm
# encountered a fatal error. The exception text can be any string, but in this
# case we use the pre-built invalidSinkError method to return a standard

0 comments on commit 60d2cd3

Please sign in to comment.