Commit b422593d authored by Martin Beseda's avatar Martin Beseda

FIX: Fixed evaluation, when there is not iteration region specified.

parent a334da31
......@@ -2386,10 +2386,10 @@ class DataReader:
evaluated_var['arg'],
dirpath,
filename,
summate=False)
summate=True)
tmp[evaluated_var_ind] = t # TODO bylo zmeneno z t[0] na t
if t['numOfNestedCalls'] == 0:
if (isinstance(t, dict) and t['numOfNestedCalls'] == 0) or (isinstance(t, list) and t[0]['numOfNestedCalls'] == 0):
utils.print_err('Bad data category or argument - compare \'y_label\' variable in the '
'config file with your CSV files!\n'
'Category: {cat}\n'
......
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