From 33e91d73382b8ae7bb904579d3042660431c282c Mon Sep 17 00:00:00 2001 From: lucie271 Date: Mon, 10 Nov 2025 11:03:38 -0500 Subject: [PATCH] Fixed issue with excel matching --- src/sailsprep/BIDS_convertor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sailsprep/BIDS_convertor.py b/src/sailsprep/BIDS_convertor.py index 503fba4..36ce2df 100644 --- a/src/sailsprep/BIDS_convertor.py +++ b/src/sailsprep/BIDS_convertor.py @@ -1012,7 +1012,7 @@ def process_single_video( annotation_df["ID"].astype(str) == str(participant_id) ] mask = ( - participant_excel["FileName"].str.split(".").str[0] + participant_excel["FileName"].str.rsplit(".", n=1).str[0] == filename_without_extension ) video_excel = participant_excel[mask]