Commit ac0b0df4 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Updated UI title and short documentation string.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 744e34fa
Pipeline #24510 failed with stage
in 1 minute and 18 seconds
...@@ -103,7 +103,7 @@ class _EnPTBaseAlgorithm(QgsProcessingAlgorithm): ...@@ -103,7 +103,7 @@ class _EnPTBaseAlgorithm(QgsProcessingAlgorithm):
return 'EnPTAlgorithm' return 'EnPTAlgorithm'
def displayName(self): def displayName(self):
return 'EnMAP processing tool algorithm (v%s)' % __version__ return f'EnPT - EnMAP Processing Tool (v{__version__})'
def createInstance(self, *args, **kwargs): def createInstance(self, *args, **kwargs):
return type(self)() return type(self)()
...@@ -433,10 +433,13 @@ class _EnPTBaseAlgorithm(QgsProcessingAlgorithm): ...@@ -433,10 +433,13 @@ class _EnPTBaseAlgorithm(QgsProcessingAlgorithm):
text = \ text = \
'<p>General information about this EnMAP box app can be found ' \ '<p>General information about this EnMAP box app can be found ' \
'<a href="https://enmap.git-pages.gfz-potsdam.de/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/doc/">here</a>' \ '<a href="https://enmap.git-pages.gfz-potsdam.de/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/doc/">here</a>. ' \
'.</p>' \ 'For details, e.g., about all the algorithms implemented in EnPT, take a look at the ' \
'<p>Type <i>enpt -h</i> into a shell to get further information about individual ' \ '<a href="https://enmap.git-pages.gfz-potsdam.de/GFZ_Tools_EnMAP_BOX/EnPT/doc/index.html">EnPT backend ' \
'parameters.</p>' 'documentation</a>.</p>' \
'<p>Type <i>enpt -h</i> into a shell to get further information about individual parameters or check out ' \
'the <a href="https://enmap.git-pages.gfz-potsdam.de/GFZ_Tools_EnMAP_BOX/EnPT/doc/usage.html#' \
'command-line-utilities">documentation</a>.</p>'
return text return text
......
...@@ -171,7 +171,7 @@ class ExternalEnPTAlgorithm(_EnPTBaseAlgorithm): ...@@ -171,7 +171,7 @@ class ExternalEnPTAlgorithm(_EnPTBaseAlgorithm):
parameters = {k: v for k, v in parameters.items() parameters = {k: v for k, v in parameters.items()
if k not in ['anaconda_root']} if k not in ['anaconda_root']}
# replace Enum parameters with corresponding strings # replace Enum parameters with corresponding strings (not needed in case of unittest)
for n, opts in [ for n, opts in [
('output_format', {0: 'GTiff', 1: 'ENVI'}), ('output_format', {0: 'GTiff', 1: 'ENVI'}),
('mode_ac', {0: 'land', 1: 'water', 2: 'combined'}), ('mode_ac', {0: 'land', 1: 'water', 2: 'combined'}),
......
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