[Avida-cvs] [avida-svn] r922 - branches/developers/avida-edward/source/python/AvidaGui2
baerb at myxo.css.msu.edu
baerb at myxo.css.msu.edu
Fri Sep 1 15:09:14 PDT 2006
Author: baerb
Date: 2006-09-01 18:09:14 -0400 (Fri, 01 Sep 2006)
New Revision: 922
Modified:
branches/developers/avida-edward/source/python/AvidaGui2/pyWriteGenesisEvent.py
Log:
Partial fix for get dropped ancestor the right ancestor name
Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyWriteGenesisEvent.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyWriteGenesisEvent.py 2006-09-01 21:34:34 UTC (rev 921)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyWriteGenesisEvent.py 2006-09-01 22:09:14 UTC (rev 922)
@@ -46,6 +46,7 @@
ann_name_in_cell = session_mdl.m_ancestors_dict[linage_lable_in_cell]
session_mdl.m_cell_num_ancestor_name_dict[tmp_cell] = ann_name_in_cell
+ print session_mdl.m_cell_num_ancestor_name_dict
#if it is not a full petri dish
else:
@@ -65,6 +66,7 @@
# Process all the ancestors
+ self.m_session_mdl.m_cell_num_ancestor_name_dict = {}
for i in range(num_ancestors):
start_creature = settings_dict["START_CREATURE" + str(i)]
session_mdl.m_ancestors_dict[str(i)] = start_creature
@@ -80,6 +82,8 @@
self.m_session_mdl.m_founding_cells_dict = None
self.m_session_mdl.m_founding_cells_dict = cells_dict
+ # BDB -- Junk should be the name of the ancestor
+ self.m_session_mdl.m_cell_num_ancestor_name_dict[str(i)] = "junk"
# Read the genome from the dictionary
More information about the Avida-cvs
mailing list