Skip to content

Commit

Permalink
Add timezone to behavior session table daq.
Browse files Browse the repository at this point in the history
  • Loading branch information
morriscb committed Oct 6, 2023
1 parent d0c44bc commit 50fa924
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,11 @@ def _behavior_session_table_from_ecephys_session_id_list(
[x.behavior_session_id for x in behavior_sessions]
)
]
# Add timezone information to behavior daq. Matches ecephys table.
behavior_session_df["date_of_acquisition"] = behavior_session_df[
"date_of_acquisition"
].dt.tz_localize("UTC")

behavior_session_df["image_set"] = get_image_set(df=behavior_session_df)

behavior_session_df[
Expand Down

0 comments on commit 50fa924

Please sign in to comment.