Skip to content

Commit

Permalink
logger.warn -> logger.warning
Browse files Browse the repository at this point in the history
  • Loading branch information
CBroz1 authored Jan 19, 2024
1 parent 344ca0b commit 587e231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spyglass/data_import/insert_sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
)
Expand Down

0 comments on commit 587e231

Please sign in to comment.