Skip to content
GitLab
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
88038486
Commit
88038486
authored
Oct 17, 2014
by
Jerome Mariette
Browse files
No commit message
No commit message
parent
020a6d58
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/jflow/parameter.py
View file @
88038486
...
...
@@ -840,7 +840,7 @@ class InputFileList(ParameterList, AbstractInputFile):
return
create_test_function
(
ctype
)
def
prepare_input_files
(
self
,
inputs
):
path2test
=
inputs
path2test
=
_copy
.
deepcopy
(
inputs
)
if
not
path2test
.
__class__
.
__name__
==
"list"
:
path2test
=
[
path2test
]
new_vals
,
done
=
[],
[]
...
...
src/jflow/workflow.py
View file @
88038486
...
...
@@ -83,6 +83,7 @@ class Workflow(threading.Thread):
self
.
end_time
=
None
self
.
step
=
None
self
.
stderr
=
None
self
.
args
=
args
self
.
dynamic_component_present
=
False
self
.
__to_address
=
None
self
.
__subject
=
None
...
...
@@ -111,9 +112,7 @@ class Workflow(threading.Thread):
self
.
define_parameters
(
self
.
function
)
# add the metadata parameter
self
.
add_parameter_list
(
"metadata"
,
"Which metadata should be linked to this workflow"
)
# if some args are provided, let's fill the parameters
if
args
:
self
.
_set_parameters
(
args
)
if
self
.
id
is
not
None
:
self
.
directory
=
self
.
manager
.
get_workflow_directory
(
self
.
name
,
self
.
id
)
if
not
os
.
path
.
isdir
(
self
.
directory
):
...
...
@@ -638,6 +637,8 @@ class Workflow(threading.Thread):
self
.
step
=
0
self
.
status
=
self
.
STATUS_STARTED
self
.
end_time
=
None
# if some args are provided, let's fill the parameters
self
.
_set_parameters
(
self
.
args
)
self
.
_serialize
()
# if pre_processing has not been done yet
if
self
.
step
==
0
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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