Skip to content

Commit f46a470

Browse files
committed
exit test mode
1 parent 4895ea1 commit f46a470

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

behavior_data_visualizer/utils.py

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,11 @@ def get_mouse_data_dict(project_name):
145145
if path.is_dir():
146146
# check if the path has a csv file
147147
if any(path.glob(f'{path.name}.csv')):
148-
# read that csv file if the animal is 008 # REMOVE ME
149-
if path.name == 'ACV008':
150-
data = pd.read_csv(path / f'{path.name}.csv', sep=';')
151-
# get the first 5000 rows
152-
data = data.head(5000)
153-
# add columns
154-
data = dft.add_day_column_to_df(data)
155-
# add it to the dictionary
156-
mouse_data_dict[path.name] = data
148+
data = pd.read_csv(path / f'{path.name}.csv', sep=';')
149+
# add columns
150+
data = dft.add_day_column_to_df(data)
151+
# add it to the dictionary
152+
mouse_data_dict[path.name] = data
157153
# sort the dictionary
158154
mouse_data_dict = dict(sorted(mouse_data_dict.items()))
159155
# pass it to utils to make it global

0 commit comments

Comments
 (0)