File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments