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

jclune at myxo.css.msu.edu jclune at myxo.css.msu.edu
Mon Sep 25 22:45:29 PDT 2006


Author: jclune
Date: 2006-09-26 01:45:29 -0400 (Tue, 26 Sep 2006)
New Revision: 991

Modified:
   branches/developers/avida-edward/source/python/AvidaGui2/pyPetriDishCtrl.py
Log:
fixed the highlighting mismatch between org report and outlined

Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyPetriDishCtrl.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyPetriDishCtrl.py	2006-09-26 04:20:18 UTC (rev 990)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyPetriDishCtrl.py	2006-09-26 05:45:29 UTC (rev 991)
@@ -117,7 +117,7 @@
 
   def statsViewTaskButtonStateChangeSlot(self, stat_task_button_states):
     self.m_stat_task_button_states = stat_task_button_states
-    descr("self.m_stat_task_button_states is: ", self.m_stat_task_button_states)
+#    descr("self.m_stat_task_button_states is: ", self.m_stat_task_button_states)
     self.updateCellItems(True)
 
   def petriCanvasResizedSlot(self,petriCanvasSize):
@@ -261,7 +261,7 @@
       failedATest = False      #refers to tests regarding whether a task button is on and that task is performed
       for i in range(len(self.m_stat_task_button_states)):
         if (self.m_stat_task_button_states[i]):
-          if(self.m_avida.m_population.GetCell(cell_id).GetOrganism().GetPhenotype().GetCurTaskCount()[i]>=1):
+          if(self.m_avida.m_population.GetCell(cell_id).GetOrganism().GetPhenotype().GetLastTaskCount()[i]>=1):
             passedATest = True
           else:
             failedATest = True




More information about the Avida-cvs mailing list