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

avidaedward@myxo.css.msu.edu avidaedward at myxo.css.msu.edu
Mon Jul 3 13:21:52 PDT 2006


Author: avidaedward
Date: 2006-07-03 16:21:52 -0400 (Mon, 03 Jul 2006)
New Revision: 794

Modified:
   branches/developers/avida-edward/source/python/AvidaGui2/pyHardwareTracer.py
   branches/developers/avida-edward/source/python/AvidaGui2/pyOrganismScopeView2.py
Log:

Organism viewer non-instruction heads are now one pixel wider, instead
of six pixels wider, than instruction circles.



Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyHardwareTracer.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyHardwareTracer.py	2006-07-03 20:16:15 UTC (rev 793)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyHardwareTracer.py	2006-07-03 20:21:52 UTC (rev 794)
@@ -58,6 +58,8 @@
     # Build the test info for tracing hardware.
     test_info = cCPUTestInfo()
     test_info.TestThreads()
+    organism = test_info.GetTestOrganism(0)
+    #organism.MutationRates().SetCopyMutProb(0.5)
     # Build storage for hardware trace info.
     self.m_hardware_trace = pyHardwareCPUTrace()
     test_info.SetTraceExecution(self)

Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyOrganismScopeView2.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyOrganismScopeView2.py	2006-07-03 20:16:15 UTC (rev 793)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyOrganismScopeView2.py	2006-07-03 20:21:52 UTC (rev 794)
@@ -245,12 +245,12 @@
 
       if self.m_frames.m_rhead_info is not None:
         self.m_rhead_item = QCanvasEllipse(self.m_canvas)
-        self.m_rhead_item.setSize(text_height + 6, text_height + 6)
+        self.m_rhead_item.setSize(text_height + 2, text_height + 2)
         self.m_rhead_item.setZ(1.)
         self.m_rhead_item.setBrush(QBrush(Qt.blue))
 
         self.m_rhead_bg_item = QCanvasEllipse(self.m_canvas)
-        self.m_rhead_bg_item.setSize(text_height + 6, text_height + 6)
+        self.m_rhead_bg_item.setSize(text_height + 2, text_height + 2)
         self.m_rhead_bg_item.setZ(1.)
         self.m_rhead_bg_item.setBrush(QBrush(Qt.white))
 
@@ -263,12 +263,12 @@
 
       if self.m_frames.m_whead_info is not None:
         self.m_whead_item = QCanvasEllipse(self.m_canvas)
-        self.m_whead_item.setSize(text_height + 6, text_height + 6)
+        self.m_whead_item.setSize(text_height + 2, text_height + 2)
         self.m_whead_item.setZ(1.)
         self.m_whead_item.setBrush(QBrush(Qt.red))
 
         self.m_whead_bg_item = QCanvasEllipse(self.m_canvas)
-        self.m_whead_bg_item.setSize(text_height + 6, text_height + 6)
+        self.m_whead_bg_item.setSize(text_height + 2, text_height + 2)
         self.m_whead_bg_item.setZ(1.)
         self.m_whead_bg_item.setBrush(QBrush(Qt.white))
 
@@ -281,12 +281,12 @@
 
       if self.m_frames.m_fhead_info is not None:
         self.m_fhead_item = QCanvasEllipse(self.m_canvas)
-        self.m_fhead_item.setSize(text_height + 6, text_height + 6)
+        self.m_fhead_item.setSize(text_height + 2, text_height + 2)
         self.m_fhead_item.setZ(1.)
         self.m_fhead_item.setBrush(QBrush(Qt.darkGreen))
 
         self.m_fhead_bg_item = QCanvasEllipse(self.m_canvas)
-        self.m_fhead_bg_item.setSize(text_height + 6, text_height + 6)
+        self.m_fhead_bg_item.setSize(text_height + 2, text_height + 2)
         self.m_fhead_bg_item.setZ(1.)
         self.m_fhead_bg_item.setBrush(QBrush(Qt.white))
 
@@ -437,7 +437,7 @@
           self.m_parent_circle.centerY(),
           self.m_instruction_spot_radius
         )
-        self.m_child_circle.setDTheta(-self.m_child_circle.dTheta())
+        #self.m_child_circle.setDTheta(-self.m_child_circle.dTheta())
 
       # Show all parent circle points
       for i in xrange(self.m_parent_size):




More information about the Avida-cvs mailing list