From 16b54161195466db5a9cd1a84f62c4611aa93917 Mon Sep 17 00:00:00 2001 From: Joachim Date: Sun, 27 Aug 2023 09:12:18 -0700 Subject: [PATCH] #3 debug ui --- main_world.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/main_world.py b/main_world.py index 5db04242e..7c9516705 100644 --- a/main_world.py +++ b/main_world.py @@ -382,9 +382,9 @@ def get_p_members_list(self): if self.person_dest_agent != None: x_list.extend( [ - lw_diplay(memberunit._agent_importance), + f"{lw_diplay(memberunit._agent_credit)}/{lw_diplay(memberunit._agent_debt)}", memberunit.name, - memberunit.weight, + f"{memberunit.creditor_weight}/{memberunit.debtor_weight}", ] for memberunit in self.person_dest_agent._members.values() ) @@ -395,7 +395,7 @@ def get_p_groups_list(self): if self.person_dest_agent != None: x_list.extend( [ - lw_diplay(groupunit._agent_importance), + f"{lw_diplay(groupunit._agent_debt)}/{lw_diplay(groupunit._agent_credit)}", groupunit.name, len(groupunit._members), ] @@ -504,9 +504,9 @@ def _sub_refresh_p_ideas_table(self): def _sub_refresh_p_members_table(self): p_members_list = self.get_p_members_list() column_headers = [ - "agent_importance", + "agent_debt/agent_credit", f"Members ({len(p_members_list)})", - "Weight", + "creditor_weight/debtor_weight", ] self.refresh_x( @@ -519,7 +519,7 @@ def _sub_refresh_p_members_table(self): def _sub_refresh_p_groups_table(self): p_groups_list = self.get_p_groups_list() column_headers = [ - "agent_importance", + "agent_debt/agent_credit", f"groups ({len(p_groups_list)})", "Members", ]