Commit 70f543b4 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

Add doc; fix typos

parent b1752153
......@@ -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)
......
......@@ -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:
......
......@@ -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):
"""
......
......@@ -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:
......
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment