Unverified Commit 79000ef7 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Added text to About dialog. Removed pprint.

parent 4d42409e
Pipeline #24074 failed with stage
in 1 minute and 8 seconds
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
import os import os
from pkgutil import find_loader from pkgutil import find_loader
from glob import glob from glob import glob
from pprint import pprint
from qgis.core import \ from qgis.core import \
(QgsProcessingContext, (QgsProcessingContext,
...@@ -102,7 +101,7 @@ class EnPTAlgorithm(_EnPTBaseAlgorithm): ...@@ -102,7 +101,7 @@ class EnPTAlgorithm(_EnPTBaseAlgorithm):
keyval_str = ' '.join(['--{} {}'.format(key, parameters[key]) keyval_str = ' '.join(['--{} {}'.format(key, parameters[key])
for key in sorted(parameters) for key in sorted(parameters)
if parameters[key] not in [None, NULL, 'NULL', '']]) if parameters[key] not in [None, NULL, 'NULL', '']])
pprint(parameters) print(parameters)
print(keyval_str + '\n\n') print(keyval_str + '\n\n')
feedback.pushInfo("\nCalling EnPT with the following command:\n" feedback.pushInfo("\nCalling EnPT with the following command:\n"
"enpt %s\n\n" % keyval_str) "enpt %s\n\n" % keyval_str)
......
...@@ -92,8 +92,14 @@ class EnPTEnMAPBoxApp(EnMAPBoxApplication): ...@@ -92,8 +92,14 @@ class EnPTEnMAPBoxApp(EnMAPBoxApplication):
return menu return menu
def showAboutDialog(self): def showAboutDialog(self):
QMessageBox.information(None, self.name, QMessageBox.information(
'Version {}'.format(self.version)) None, self.name,
'EnPT (the EnMAP processing tool) is an automated pre-processing pipeline for the new EnMAP hyperspectral '
'satellite data. It provides free and open-source features to transform EnMAP Level-1B data to Level-2A. '
'The code has been developed at the German Research Centre for Geosciences Potsdam (GFZ) as an alternative '
'to the processing chain of the EnMAP Ground Segment.\n'
'\n'
'Installed GUI version: {}'.format(self.version))
def processingAlgorithms(self): def processingAlgorithms(self):
""" """
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment