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
62e50c39
Commit
62e50c39
authored
Nov 17, 2015
by
Ibouniyamine Nabihoudine
Browse files
No commit message
No commit message
parent
f9895fb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/jflow/config_reader.py
View file @
62e50c39
...
...
@@ -23,7 +23,6 @@ import logging
from
configparser
import
RawConfigParser
,
NoOptionError
from
jflow.utils
import
which
,
display_error_message
from
jflow.workflow
import
Workflow
class
JFlowConfigReader
(
object
):
"""
...
...
@@ -124,6 +123,6 @@ class JFlowConfigReader(object):
try
:
return
self
.
reader
.
get
(
"workflows"
,
workflow_class
+
".group"
)
except
:
return
Workflow
.
DEFAULT_GROUP
return
""
\ No newline at end of file
src/jflow/workflow.py
View file @
62e50c39
...
...
@@ -38,7 +38,8 @@ import jflow
import
jflow.utils
as
utils
from
jflow.utils
import
validate_email
from
pygraph.classes.digraph
import
digraph
from
jflow.workflows_manager
import
WorkflowsManager
,
JFlowConfigReader
from
jflow.workflows_manager
import
WorkflowsManager
from
jflow.config_reader
import
JFlowConfigReader
from
jflow.utils
import
get_octet_string_representation
,
get_nb_octet
from
jflow.parameter
import
*
from
cctools.util
import
time_format
...
...
@@ -145,7 +146,7 @@ class Workflow(threading.Thread):
self
.
id
=
id
self
.
name
=
self
.
get_name
()
self
.
description
=
self
.
get_description
()
self
.
__group
=
self
.
jflow_config_reader
.
get_workflow_group
(
self
.
__class__
.
__name__
)
self
.
__group
=
self
.
jflow_config_reader
.
get_workflow_group
(
self
.
__class__
.
__name__
)
or
Workflow
.
DEFAULT_GROUP
# define the parameters
self
.
params_order
=
[]
...
...
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