Skip to content

Commit 0685197

Browse files
committed
add hint about pushing information to the user in script template
1 parent 22ba501 commit 0685197

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/plugins/processing/script/ScriptTemplate.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ def processAlgorithm(self, parameters, context, feedback):
149149
source.sourceCrs()
150150
)
151151

152+
# Send some information to the user
153+
feedback.pushInfo('CRS is {}'.format(source.sourceCrs().authid()))
154+
152155
# If sink was not created, throw an exception to indicate that the algorithm
153156
# encountered a fatal error. The exception text can be any string, but in this
154157
# case we use the pre-built invalidSinkError method to return a standard

0 commit comments

Comments
 (0)