[Avida-cvs] [avida-svn] r817 - branches/developers/avida-edward/source/python/AvidaGui2

avidaedward@myxo.css.msu.edu avidaedward at myxo.css.msu.edu
Fri Jul 7 12:53:57 PDT 2006


Author: avidaedward
Date: 2006-07-07 15:53:56 -0400 (Fri, 07 Jul 2006)
New Revision: 817

Modified:
   branches/developers/avida-edward/source/python/AvidaGui2/Avida_ED_startup_utils.py
   branches/developers/avida-edward/source/python/AvidaGui2/pyOrganismScopeCtrl.py
Log:

- Removed code demonstrating messages for user via descr.info(),
  descr.question(), descr.warning(), descr.critical().



Modified: branches/developers/avida-edward/source/python/AvidaGui2/Avida_ED_startup_utils.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/Avida_ED_startup_utils.py	2006-07-07 16:00:11 UTC (rev 816)
+++ branches/developers/avida-edward/source/python/AvidaGui2/Avida_ED_startup_utils.py	2006-07-07 19:53:56 UTC (rev 817)
@@ -25,16 +25,6 @@
 # the results of changes to the source code).
 #
 def Reload():
-  answer = question(
-"""Question dialog box permits
-'okay' or 'cancel'.""")
-  info("answer:", answer)
-
-  answer = question(
-"""(Again...)
-'okay' or 'cancel'.""")
-  info("answer:", answer)
-
   import AvidaGui2.pyTemporaryReloads
   reload(AvidaGui2.pyTemporaryReloads)
   # Ask the linecache module to refresh its cache with new versions of
@@ -59,11 +49,6 @@
   s_splash.message("Loading Avida-ED user-interface ...")
   s_splash.show()
 
-  info("Demo of one-element information message.")
-  info("Demo of multi-element information message.", "ick.")
-  warning("Demo of warning message with arbitrary elements.", None, [1,2,3,5], s_splash)
-  critical("Demo of critical message.")
-
   try:
     Reload()
     from AvidaGui2.pyEduMainCtrl import pyEduMainCtrl

Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyOrganismScopeCtrl.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyOrganismScopeCtrl.py	2006-07-07 16:00:11 UTC (rev 816)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyOrganismScopeCtrl.py	2006-07-07 19:53:56 UTC (rev 817)
@@ -24,10 +24,6 @@
     if not name: self.setName("pyOrganismScopeCtrl")
 
     self.m_test_cpu_mutation_rate = 0.0
-    warning(
-"""random warning during initialization of
-"pyOrganismScopeCtrl" object."""
-)
 
   def construct(self, session_mdl):
     print "pyOrganismScopeCtrl.construct()."




More information about the Avida-cvs mailing list