Skip to content
Snippets Groups Projects
Commit 6b746f58 authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'cherry-pick-79286a46' into 'releases/3.7'

Merge branch 'feature/generate-param-with-ignore-option' into 'master'

See merge request !3496
parents 8f615028 e0a38d00
No related branches found
No related tags found
1 merge request!3496Merge branch 'feature/generate-param-with-ignore-option' into 'master'
Pipeline #29725 passed
......@@ -279,6 +279,15 @@ for missingKey in missingParameters:
"--> Set mode to 'manual' in the input file if it is to be kept otherwise delete it!"
)
# ignore some parameters
for k, v in inputDict.items():
if (v.get("mode") == "ignore") and (k in parameterDict):
logger.info(
f"Ignored parameter '{k}' in the parameter list. The parameter"
f" mode has been set 'ignore' in {cmdArgs['inputFile']}"
)
parameterDict.pop(k)
parameterDict = dict(sorted(parameterDict.items(), key=lambda kv: kv[0]))
# determine actual entries (from duplicates)
# and determine maximum occurring column widths
......
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