We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe4ddd9 commit cfb863eCopy full SHA for cfb863e
bidscoin/plugins/events2bids.py
@@ -339,7 +339,7 @@ def logtable(self) -> pd.DataFrame:
339
340
# Create new DataFrame with 'onset', 'duration', and 'event_type'
341
for event in events:
342
- onset = df[started := f"{event}.started"] # Get the onset times
+ onset = df[(started := f"{event}.started")] # Get the onset times
343
if (stopped := f"{event}.stopped") in df.columns:
344
duration = df[stopped] - df[started]
345
else:
0 commit comments