Skip to content

Commit

Permalink
BUG: wrong key from extract_bids
Browse files Browse the repository at this point in the history
  • Loading branch information
jungheejung committed Aug 23, 2024
1 parent d7560f4 commit 8723f55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def run_subprocess(command: list):
# Iterate over each row in the DataFrame
for index, row in missing_df.iterrows():
bids_string = row['BIDS_string']
taskname = extract_bids(bids_string, 'taskname')
taskname = extract_bids(bids_string, 'task')
if taskname is None:
print(f"Task name extraction failed for index {index}. Skipping.")
continue
Expand Down

0 comments on commit 8723f55

Please sign in to comment.