Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
jflow
Commits
bb9d0ef8
Commit
bb9d0ef8
authored
Sep 24, 2013
by
Jerome Mariette
Browse files
display params in the same order
parent
fffb959f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/jflow/workflow.py
View file @
bb9d0ef8
...
...
@@ -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
param
s
:
for
param_name
in
param
_order
:
sub_params
,
current_params
,
sub_objs
=
{},
{},
[]
for
param
in
params
[
param_name
]:
sub_params_values
=
param
.
split
(
"."
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment