From 4403c5e6b5b7096c4c21a89268ccbe47862035d0 Mon Sep 17 00:00:00 2001 From: jasonyslee Date: Fri, 18 Oct 2024 20:30:40 +0000 Subject: [PATCH 1/2] Make pivot table tidy (tidy=false -> true) --- src/aind_dynamic_foraging_data_utils/nwb_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aind_dynamic_foraging_data_utils/nwb_utils.py b/src/aind_dynamic_foraging_data_utils/nwb_utils.py index 3129603..06b6495 100644 --- a/src/aind_dynamic_foraging_data_utils/nwb_utils.py +++ b/src/aind_dynamic_foraging_data_utils/nwb_utils.py @@ -510,7 +510,7 @@ def create_events_df(nwb_filename, adjust_time=True): return df -def create_fib_df(nwb_filename, tidy=False, adjust_time=True): +def create_fib_df(nwb_filename, tidy= True, adjust_time=True): """ returns a dataframe of the FIB data in the nwb file if tidy, return a tidy dataframe From cd1c97070253e467d909345313ef5106ac3b95da Mon Sep 17 00:00:00 2001 From: jasonyslee Date: Fri, 18 Oct 2024 20:38:04 +0000 Subject: [PATCH 2/2] linting --- src/aind_dynamic_foraging_data_utils/nwb_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aind_dynamic_foraging_data_utils/nwb_utils.py b/src/aind_dynamic_foraging_data_utils/nwb_utils.py index 06b6495..fa174a7 100644 --- a/src/aind_dynamic_foraging_data_utils/nwb_utils.py +++ b/src/aind_dynamic_foraging_data_utils/nwb_utils.py @@ -510,7 +510,7 @@ def create_events_df(nwb_filename, adjust_time=True): return df -def create_fib_df(nwb_filename, tidy= True, adjust_time=True): +def create_fib_df(nwb_filename, tidy=True, adjust_time=True): """ returns a dataframe of the FIB data in the nwb file if tidy, return a tidy dataframe