Commit bb9d0ef8 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

display params in the same order

parent fffb959f
......@@ -276,7 +276,7 @@ class Workflow(threading.Thread):
def _get_from_config(self):
reader = ConfigParser()
reader.read(self._get_property_path())
parameters = []
parameters, param_order = [], []
try:
params = {}
# first grab all parameters name
......@@ -288,8 +288,9 @@ class Workflow(threading.Thread):
params[cparam] = {ckey: cvalue}
else:
params[cparam][ckey] = cvalue
if cparam not in param_order: param_order.append(cparam)
for param_name in params:
for param_name in param_order:
sub_params, current_params, sub_objs = {}, {}, []
for param in params[param_name]:
sub_params_values = param.split(".")
......
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