From d8811be4bc071eb1b8c9e62de8917254bd0f8ace Mon Sep 17 00:00:00 2001 From: Markus Metz <33666869+metzm@users.noreply.github.com> Date: Thu, 6 May 2021 10:52:05 +0200 Subject: [PATCH] make actinia process names openeo-conform (#90) --- src/openeo_grass_gis_driver/register_actinia_processes.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/openeo_grass_gis_driver/register_actinia_processes.py b/src/openeo_grass_gis_driver/register_actinia_processes.py index d6cbd38d..538bf6bf 100644 --- a/src/openeo_grass_gis_driver/register_actinia_processes.py +++ b/src/openeo_grass_gis_driver/register_actinia_processes.py @@ -49,12 +49,9 @@ def register_processes(): # create "pseudo" module for every output: for returns in module['returns']: pm = dict(module) - # TODO: do not change the id, otherwise it breaks - # iface.list_module(pm['id']) - pm['id'] = "%s_%s" % ( - module['id'], returns['name']) pm['returns'] = returns - process = pm["id"].replace('.', '_') + process = "%s_%s" % ( + pm['id'].replace('.', '_'), returns['name']) ACTINIA_OPENEO_PROCESS_DESCRIPTION_DICT[process] = pm else: