zavavan commited on
Commit
2082cd5
·
verified ·
1 Parent(s): 29d5f65

Update dashboard.py

Browse files
Files changed (1) hide show
  1. dashboard.py +2 -2
dashboard.py CHANGED
@@ -597,10 +597,10 @@ def load_Task_Method_trends(topic, **kwargs):
597
 
598
  #load the task_timeseries dataframe for each of the task mapped from the selected topic in the dict topic2toptasks
599
  for task in topic2toptasks[str(macro_topics_mapping[topic])]:
600
- task_data[str(macro_topics_mapping[topic])]=loadTaskMethodTimeSeries(str(macro_topics_mapping[topic]),task)
601
 
602
  # Create Panel UI with dropdown selection
603
- task_dropdown = pn.widgets.Select(name="Select TASK", options=[key[1] for key in task_data.keys()])
604
 
605
  @pn.depends(task_dropdown.param.value)
606
  def load_task_overlays(task):
 
597
 
598
  #load the task_timeseries dataframe for each of the task mapped from the selected topic in the dict topic2toptasks
599
  for task in topic2toptasks[str(macro_topics_mapping[topic])]:
600
+ task_data[task]=loadTaskMethodTimeSeries(str(macro_topics_mapping[topic]),task)
601
 
602
  # Create Panel UI with dropdown selection
603
+ task_dropdown = pn.widgets.Select(name="Select TASK", options=[key for key in task_data.keys()])
604
 
605
  @pn.depends(task_dropdown.param.value)
606
  def load_task_overlays(task):