def initializeSettings(self): AlgorithmProvider.initializeSettings(self) if isWindows() or isMac(): ProcessingConfig.addSetting(Setting(self.getDescription(), Grass7Utils.GRASS_FOLDER, 'GRASS7 folder', Grass7Utils.grassPath())) ProcessingConfig.addSetting(Setting(self.getDescription(), Grass7Utils.GRASS_WIN_SHELL, 'Msys folder', Grass7Utils.grassWinShell())) ProcessingConfig.addSetting(Setting(self.getDescription(), Grass7Utils.GRASS_LOG_COMMANDS, 'Log execution commands', False)) ProcessingConfig.addSetting(Setting(self.getDescription(), Grass7Utils.GRASS_LOG_CONSOLE, 'Log console output', False))