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
d111eba7
Commit
d111eba7
authored
May 19, 2017
by
Floreal Cabanettes
Browse files
Fix AtLeastOneAmong rule
parent
c3d98e32
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/jflow/rules.py
View file @
d111eba7
...
...
@@ -260,7 +260,7 @@ class AtLeastOneAmong(LinkRule):
if
self
.
parameter_value
is
None
or
not
self
.
parameter_value
:
has_one
=
False
for
grp_param
in
self
.
targets_args
:
if
not
getattr
(
self
.
wf_instance
,
grp_param
).
is_None
:
if
grp_param
in
self
.
user_args
and
self
.
user_args
[
grp_param
]
:
has_one
=
True
break
if
not
has_one
:
...
...
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