Skip to content
Snippets Groups Projects
Commit 77768ba3 authored by David Verelst's avatar David Verelst
Browse files

prepost.dlcdefs: make sure either wsp or Windspeed work as tags

parent 72bccd00
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -429,6 +429,8 @@ def excel_stabcon(proot, fext='xlsx', pignore=None, pinclude=None, sheet=0, ...@@ -429,6 +429,8 @@ def excel_stabcon(proot, fext='xlsx', pignore=None, pinclude=None, sheet=0,
# tag spec/naming convention, and with special tag prefix # tag spec/naming convention, and with special tag prefix
if '[Windspeed]' not in tags_dict and '[wsp]' in tags_dict: if '[Windspeed]' not in tags_dict and '[wsp]' in tags_dict:
tags_dict['[Windspeed]'] = tags_dict['[wsp]'] tags_dict['[Windspeed]'] = tags_dict['[wsp]']
elif '[Windspeed]' in tags_dict and '[wsp]' not in tags_dict:
tags_dict['[wsp]'] = tags_dict['[Windspeed]']
# avoid that any possible default tags from wetb will be used # avoid that any possible default tags from wetb will be used
# instead of the ones from the spreadsheet # instead of the ones from the spreadsheet
if '[seed]' in tags_dict: if '[seed]' in tags_dict:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment