Convert example configs to python

Fixes: #4627

Change-Id: I1049af9fa2f3f9ec06e55811dc9ecfa5f359c805
This commit is contained in:
Alexander Zaft
2023-01-19 14:38:15 +01:00
parent c4fbd8a7bf
commit 127f1712ee
42 changed files with 1209 additions and 1474 deletions

View File

@@ -35,7 +35,7 @@ class SimBase:
extra_params = cfgdict.pop('extra_params', '') or cfgdict.pop('.extra_params', '')
attrs = {}
if extra_params:
for k in extra_params.split(','):
for k in extra_params['default'].split(','):
k = k.strip()
attrs[k] = Parameter('extra_param: %s' % k.strip(),
datatype=FloatRange(),