Skip to content

Commit

Permalink
add missing context to return layers to QGIS
Browse files Browse the repository at this point in the history
- currently all layers in the outputs folders are returned
  • Loading branch information
leon-wagner committed Nov 21, 2024
1 parent c766b3a commit d3cb945
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runAna5DFAPathGeneration_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ def processAlgorithm(self, parameters, context, feedback):
except:
raise QgsProcessingException(self.tr('Something went wrong with path generation, please check log files'))

context = cF.addLayersToContext(context, pathResults, self.OUTPPR)

feedback.pushInfo('\n---------------------------------')
feedback.pushInfo('Done, find results and logs here:')
feedback.pushInfo(str(targetDir.resolve()))
Expand Down

0 comments on commit d3cb945

Please sign in to comment.