Skip to content

Commit a746e78

Browse files
committed
.
1 parent 0daccd4 commit a746e78

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

behavior_data_visualizer/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ def get_mouse_data_dict(project_name):
182182
data = dft.add_day_column_to_df(data)
183183
# add it to the dictionary
184184
mouse_data_dict[path.name] = data
185+
# sort the dictionary
186+
mouse_data_dict = dict(sorted(mouse_data_dict.items()))
185187
# pass it to utils to make it global
186188
utils.set_mouse_data_dict(mouse_data_dict)
187189
# return the data

0 commit comments

Comments
 (0)