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
70f543b4
Commit
70f543b4
authored
Sep 25, 2017
by
VIGNET Pierre
Browse files
Add doc; fix typos
parent
b1752153
Changes
5
Hide whitespace changes
Inline
Side-by-side
gui/cadbiom_gui/gt_gui/chart_checker/chart_checker_controler.py
View file @
70f543b4
...
...
@@ -254,6 +254,7 @@ class OccurenceForm(object):
def
on_cond
(
self
,
widget
):
"""
launch solution computations
If solutions are found, MAC search is unlocked.
"""
# desactivate buttons
self
.
but_solutions
.
set_sensitive
(
False
)
...
...
gui/cadbiom_gui/gt_gui/chart_misc_widgets.py
View file @
70f543b4
...
...
@@ -39,7 +39,12 @@
## Contributor(s): Michel Le Borgne
##
"""
Small widgets for Cadbiom gui
Small widgets for Cadbiom gui:
- SearchManager: List of simple nodes for searching
- SearchFrontier: Same as SearchManager but specialized on frontier nodes
- LegendWindow: Widget to display the legend
- ImportPIDParam: Widget for model importing
- ImportBioPAXParams: Widget for BioPAX model importing
"""
import
gtk
import
re
...
...
@@ -500,6 +505,7 @@ class ImportBioPAXParams(object):
def
__init__
(
self
,
chart
,
parent
=
None
):
self
.
charter
=
chart
# biopax2cadbiom detection
try
:
from
biopax2cadbiom.commons
import
SPARQL_PATH
except
ImportError
:
...
...
gui/cadbiom_gui/gt_gui/chart_static/chart_stat_controler.py
View file @
70f543b4
...
...
@@ -348,7 +348,10 @@ class DependencyGraphWindow(object):
class
SCCWindow
(
object
):
"""
Class used for displaying frontier isolated components
Class used for displaying frontier isolated components.
This class is the matherclass for Basal Activated Genes,
and Informations windows linked to the current model
(via Static Analysis menu).
"""
def
__init__
(
self
,
l_fsol
,
emvc
,
reporter
,
parent
=
None
):
"""
...
...
gui/cadbiom_gui/gt_gui/charter.py
View file @
70f543b4
...
...
@@ -932,6 +932,7 @@ class Charter(object):
used by: STATWindow, SCCWindow, BAGWindow, LegendWindow
"""
#print "register"
self
.
subwindows
.
add
(
window
)
def
win_remove
(
self
,
window
):
...
...
@@ -941,7 +942,7 @@ class Charter(object):
used by: STATWindow, SCCWindow, BAGWindow, LegendWindow
"""
#print "remove"
try
:
self
.
subwindows
.
remove
(
window
)
except
KeyError
:
...
...
gui/cadbiom_gui/gt_gui/graphics/drawing_style.py
View file @
70f543b4
...
...
@@ -514,6 +514,7 @@ class PlainDrawing(DrawingStyle):
def
visit_cstart_node
(
self
,
node
):
wid
=
float
(
self
.
view
.
draw_width
)
hei
=
float
(
self
.
view
.
draw_height
)
# 1.1 value is a "magic" value due to the resize of start nodes
return
(
self
.
NRADIUS
/
wid
*
1.1
,
self
.
NRADIUS
/
hei
*
1.1
,
self
.
H_SNODE
/
(
2
*
hei
))
def
visit_ctrap_node
(
self
,
node
):
...
...
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