diff --git a/src/spyglass/data_import/insert_sessions.py b/src/spyglass/data_import/insert_sessions.py index f31b0c09e..329a7be42 100644 --- a/src/spyglass/data_import/insert_sessions.py +++ b/src/spyglass/data_import/insert_sessions.py @@ -101,7 +101,7 @@ def copy_nwb_link_raw_ephys(nwb_file_name, out_nwb_file_name): if os.path.exists(out_nwb_file_abs_path): if debug_mode: return out_nwb_file_abs_path - logger.warn( + logger.warning( f"Output file {out_nwb_file_abs_path} exists and will be " + "overwritten." )