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
8b4d246c
Commit
8b4d246c
authored
Aug 19, 2014
by
Jerome Mariette
Browse files
forgot to try/catch building workflow
parent
e6d19d5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/jflow/workflows_manager.py
View file @
8b4d246c
...
...
@@ -70,9 +70,8 @@ class WorkflowsManager(object):
for
class_name
,
obj
in
inspect
.
getmembers
(
sys
.
modules
[
modname
],
inspect
.
isclass
):
if
issubclass
(
obj
,
jflow
.
workflow
.
Workflow
)
and
obj
.
__name__
!=
jflow
.
workflow
.
Workflow
.
__name__
:
# try to build the workflow
wf_instances
.
append
(
obj
(
parameters_section
=
parameters_section
))
#try: wf_instances.append(obj(parameters_section=parameters_section))
#except: pass
try
:
wf_instances
.
append
(
obj
(
parameters_section
=
parameters_section
))
except
:
pass
return
wf_instances
def
rerun_workflow
(
self
,
workflow_id
):
...
...
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