Skip to content

Commit

Permalink
docs(enhance_UI): refactor agent_type to agent_name_filter
Browse files Browse the repository at this point in the history
  • Loading branch information
bangxiangyong committed Jun 1, 2021
1 parent b66fcb3 commit a6f8da9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agentMET4FOF/dashboard/Dashboard_agt_net.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,8 +612,8 @@ def plot_monitor_graphs(n_interval):
if agentNetwork.get_mode() != "Running" and n_interval > 0:
raise PreventUpdate

agent_type = "Monitor"
agent_names = agentNetwork.agents(filter_agent=agent_type) # get all agent names
agent_name_filter = "Monitor"
agent_names = agentNetwork.agents(filter_agent=agent_name_filter) # get all agent names
# all agents with Monitor in its name will be selected
plots_data = {} # storage for all monitor agent's memory

Expand Down

0 comments on commit a6f8da9

Please sign in to comment.