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
2d0df95c
Commit
2d0df95c
authored
Oct 27, 2015
by
Ibouniyamine Nabihoudine
Browse files
No commit message
No commit message
parent
b3e4f54a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/jflow/parameter.py
View file @
2d0df95c
...
...
@@ -591,7 +591,7 @@ class IntParameter(int, AbstractParameter):
val
.
is_None
=
False
if
default
!=
None
else
True
for
attr
in
int
.
__dict__
:
func
=
getattr
(
int
,
attr
)
if
isinstance
(
func
,
collections
.
Callable
)
and
attr
not
in
[
"__new__"
,
"__init__"
,
"__int__"
,
"__getattribute__"
,
"__setattribute__"
,
if
isinstance
(
func
,
collections
.
Callable
)
and
attr
not
in
[
"__new__"
,
"__init__"
,
"__int__"
,
"__bool__"
,
"__getattribute__"
,
"__setattribute__"
,
"__eq__"
,
"__ne__"
,
"__nonzero__"
,
"__str__"
,
"__repr__"
,
"__getnewargs__"
]:
setattr
(
IntParameter
,
attr
,
none_decorator
(
func
))
return
val
...
...
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