Skip to content

Commit

Permalink
Update python/plugins/grassprovider/grass7.txt
Browse files Browse the repository at this point in the history
Correction from nicogodet

Co-authored-by: Nicolas Godet <39594821+nicogodet@users.noreply.github.com>
  • Loading branch information
2 people authored and nyalldawson committed May 25, 2023
1 parent 1fb475c commit a98f02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/grassprovider/grass7.txt
Expand Up @@ -167,7 +167,7 @@ There are 4 different levels where you can add logic:
- Processing the command itself: if you need to chain more than one GRASS command for your algorithm.
- Processing the outputs: if you need to do special things before exporting layers or if you need special export methods.

Whenever you want to add some logic on one (or more) level(s), you have to create a .py file named according to the algorithm name in python/plugins/processing/algs/grass7/ext, replacing '.' with '_'.
Whenever you want to add some logic on one (or more) level(s), you have to create a .py file named according to the algorithm name in python/plugins/grassprovider/ext, replacing '.' with '_'.
Then you need to create methods using the respective names:
- Input parameters: checkParameterValuesBeforeExecuting
- Inputs import: processInputs
Expand Down

0 comments on commit a98f02e

Please sign in to comment.