Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
update algorithms which use "ext" mechanism
(cherry picked from commit 938dc61)
  • Loading branch information
alexbruy authored and nyalldawson committed Jun 19, 2020
1 parent 3e427b3 commit 3621550
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/grass7/Grass7Algorithm.py
Expand Up @@ -445,6 +445,9 @@ def processAlgorithm(self, original_parameters, context, feedback):
outName = out.name()
if outName in parameters:
if outName in self.fileOutputs:
print('ADD', outName)
print('VAL', parameters[outName])
print('VAL 2', self.fileOutputs[outName])
outputs[outName] = self.fileOutputs[outName]
else:
outputs[outName] = parameters[outName]
Expand Down
1 change: 1 addition & 0 deletions python/plugins/processing/algs/grass7/ext/i_cluster.py
Expand Up @@ -41,6 +41,7 @@ def processCommand(alg, parameters, context, feedback):

# Re-add signature files
parameters['signaturefile'] = signatureFile
alg.fileOutputs['signaturefile'] = signatureFile

# Export signature file
exportSigFile(alg, group, subgroup, signatureFile)
1 change: 1 addition & 0 deletions python/plugins/processing/algs/grass7/ext/i_gensig.py
Expand Up @@ -37,6 +37,7 @@ def processCommand(alg, parameters, context, feedback):

# Re-add signature files
parameters['signaturefile'] = signatureFile
alg.fileOutputs['signaturefile'] = signatureFile

# Export signature file
exportSigFile(alg, group, subgroup, signatureFile)
1 change: 1 addition & 0 deletions python/plugins/processing/algs/grass7/ext/i_gensigset.py
Expand Up @@ -37,6 +37,7 @@ def processCommand(alg, parameters, context, feedback):

# Re-add signature files
parameters['signaturefile'] = signatureFile
alg.fileOutputs['signaturefile'] = signatureFile

# Export signature file
exportSigFile(alg, group, subgroup, signatureFile, 'sigset')

0 comments on commit 3621550

Please sign in to comment.