From 785e32c5bc08a5f442b2bd0d08a1225c9d86f70d Mon Sep 17 00:00:00 2001 From: Samuel Bray Date: Wed, 6 Sep 2023 10:04:50 -0700 Subject: [PATCH] Fix f-string bug --- rec_to_nwb/processing/nwb/components/dio/dio_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rec_to_nwb/processing/nwb/components/dio/dio_files.py b/rec_to_nwb/processing/nwb/components/dio/dio_files.py index 3e2a65cc..ad5bfc51 100644 --- a/rec_to_nwb/processing/nwb/components/dio/dio_files.py +++ b/rec_to_nwb/processing/nwb/components/dio/dio_files.py @@ -44,7 +44,7 @@ def __get_dict(cls, directory): else: if not(file.split(".")[-2].split("_")[-2] == "ECU"): print( - f"WARNING: {file.split('.')[-2].split("_")[-2]} is not a recognized dio type. Including file: {file}, but proceed with caution." + f"WARNING: {file.split('.')[-2].split('_')[-2]} is not a recognized dio type. Including file: {file}, but proceed with caution." ) dio_name = file.split(".")[-2].split("_")[ -1