Commit 95fc2e84 authored by Mohcine Chraibi's avatar Mohcine Chraibi

untabify makeini

parent 2c07d508
Pipeline #22462 failed with stages
in 530 minutes and 51 seconds
......@@ -147,13 +147,13 @@ def get_product(root):
for node in root.iter():
tag = node.tag
if tag in tags: # ignore tags that are not of interest
d = get_tag(node)
if isinstance(d, list) or isinstance(d, ndarray):# or isinstance(d, range) :
d = get_tag(node)
if isinstance(d, list) or isinstance(d, ndarray):# or isinstance(d, range) :
# in case some tags have multiple values
if tag not in input_tags and len(d) > 1:
if tag not in input_tags and len(d) > 1:
# ignore lists with one element (equiv to scalars)
# if tag in tags:
input_tags[tag] = d
input_tags[tag] = d
elif bool(set(node.attrib.keys()) & set(attributes)): # check our list of attributes
values = get_attribute(node) # d, atr_tag, attr
# value, atr_tag, atr
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment