Skip to content
Snippets Groups Projects
Commit ce5b6efa authored by Paulus Kruger's avatar Paulus Kruger
Browse files

fixed yamlconfig bug of previous commit

parent e44296fb
No related branches found
No related tags found
No related merge requests found
Pipeline #47525 passed
......@@ -70,7 +70,8 @@ class yamlconfig():
var2=var1[i].copy()
var2['name']=name
for key,value in var1[i].items():
if isinstance(value,list):
if isinstance(value,list) and (len(value)==len(var1[i]['name'])):
# print(key,value)
var2[key]=GetField(var1[i],key,x)
#var2['scale']=GetField(var1[i],'scale',x,1)
#if not (var1[i].get('bitoffset') is None):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment