From 95fc2e84a7ba4f6ee95bde041caa50860d2ede28 Mon Sep 17 00:00:00 2001 From: Mohcine Chraibi <m.chraibi@fz-julich.de> Date: Wed, 17 Jul 2019 10:05:01 +0200 Subject: [PATCH] untabify makeini --- Utest/makeini.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Utest/makeini.py b/Utest/makeini.py index ea211d9e..f83aa611 100644 --- a/Utest/makeini.py +++ b/Utest/makeini.py @@ -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 -- GitLab