[Avida-cvs] [avida-svn] r920 - branches/developers/avida-edward/source/python/AvidaGui2
baerb at myxo.css.msu.edu
baerb at myxo.css.msu.edu
Fri Sep 1 13:30:53 PDT 2006
Author: baerb
Date: 2006-09-01 16:30:53 -0400 (Fri, 01 Sep 2006)
New Revision: 920
Modified:
branches/developers/avida-edward/source/python/AvidaGui2/pyWriteGenesisEvent.py
Log:
Added m_cell_num_ancestor_name_dict to pyWriteGenesisEvent
Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyWriteGenesisEvent.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyWriteGenesisEvent.py 2006-09-01 03:56:27 UTC (rev 919)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyWriteGenesisEvent.py 2006-09-01 20:30:53 UTC (rev 920)
@@ -40,7 +40,11 @@
else:
ancestor_link_dict = {}
self.m_session_mdl.m_founding_cells_dict = cells_dict
+ self.m_session_mdl.m_cell_num_ancestor_name_dict = {}
+ for tmp_cell, tmp_lin_lab in ancestor_link_dict.iteritems():
+ session_mdl.m_cell_num_ancestor_name_dict[tmp_cell] = session_mdl.m_ancestors_dict[ancestor_link_dict[tmp_cell]]
+
#if it is not a full petri dish
else:
cells_dict = {}
More information about the Avida-cvs
mailing list