Skip to content

Commit

Permalink
make actinia process names openeo-conform (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
metzm authored May 6, 2021
1 parent 0863d14 commit d8811be
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/openeo_grass_gis_driver/register_actinia_processes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d8811be

Please sign in to comment.