Skip to content

Commit

Permalink
#3 debug ui
Browse files Browse the repository at this point in the history
  • Loading branch information
jschalk committed Aug 27, 2023
1 parent c86e81a commit 16b5416
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions main_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
)
Expand All @@ -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),
]
Expand Down Expand Up @@ -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(
Expand All @@ -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",
]
Expand Down

0 comments on commit 16b5416

Please sign in to comment.