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
VIGNET Pierre
cadbiom
Commits
5ee7067b
Commit
5ee7067b
authored
Sep 16, 2017
by
VIGNET Pierre
Browse files
Basal activated genes, now displays a window, even if no gens found
parent
8d6d6e70
Changes
1
Hide whitespace changes
Inline
Side-by-side
gui/cadbiom_gui/gt_gui/chart_static/chart_stat_controler.py
View file @
5ee7067b
...
...
@@ -357,8 +357,7 @@ class SCCWindow(object):
@param reporter: Classical reporter
@param parent: parent widget
"""
if
not
l_fsol
:
return
self
.
emvc
=
emvc
self
.
reporter
=
reporter
...
...
@@ -615,18 +614,25 @@ class BAGWindow(SCCWindow):
@param reporter: Classical reporter
@param parent: parent widget
"""
if
l_fsol
:
SCCWindow
.
__init__
(
self
,
l_fsol
,
emvc
,
reporter
,
parent
)
self
.
window
.
set_title
(
"Basal activated genes - "
+
self
.
emvc
.
model
.
name
)
SCCWindow
.
__init__
(
self
,
l_fsol
,
emvc
,
reporter
,
parent
)
self
.
window
.
set_title
(
"Basal activated genes - "
+
self
.
emvc
.
model
.
name
)
def
display_info
(
self
):
"""
???
"""
SCC_found
=
(
len
(
self
.
l_solutions
[
0
])
!=
0
)
# info label
info
=
self
.
wtree
.
get_widget
(
"label_nbsol"
)
info
.
set_text
(
str
(
len
(
self
.
l_solutions
))
+
" basal activated genes found"
)
if
not
SCC_found
:
info
.
set_text
(
"No basal activated genes found."
)
return
else
:
info
.
set_text
(
str
(
len
(
self
.
l_solutions
))
+
\
" basal activated genes found."
)
self
.
frame_sol
=
self
.
wtree
.
get_widget
(
"frame_sol"
)
# button frame
...
...
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