Skip to content

Commit 5d955ef

Browse files
authored
Merge pull request #33 from sensein/fix_error_BIDS_conversion
Fixed issue with excel matching
2 parents f098f57 + 33e91d7 commit 5d955ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sailsprep/BIDS_convertor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ def process_single_video(
10121012
annotation_df["ID"].astype(str) == str(participant_id)
10131013
]
10141014
mask = (
1015-
participant_excel["FileName"].str.split(".").str[0]
1015+
participant_excel["FileName"].str.rsplit(".", n=1).str[0]
10161016
== filename_without_extension
10171017
)
10181018
video_excel = participant_excel[mask]

0 commit comments

Comments
 (0)