mne-tools / mne-bids-pipeline

Automatically process entire electrophysiological datasets using MNE-Python.
https://mne.tools/mne-bids-pipeline/
BSD 3-Clause "New" or "Revised" License
138 stars 66 forks source link

BUG: sub-average report displays incorrect Event Counts when the dataset has multiple tasks #946

Open jtmbeta opened 4 months ago

jtmbeta commented 4 months ago

After running the mne-bids-pipeline separately for two tasks that are present in a dataset, the event counts are incorrectly displayed in the sub-average report. Specifically, the data for both tasks are shown, but the trial numbers are only correct for one of them, with the data for the second task apparently a duplicate of the first.

welcome[bot] commented 4 months ago

Hello! 👋 Thanks for opening your first issue here! ❤️ We will try to get back to you soon. 🚴🏽‍♂️

jtmbeta commented 4 months ago

image

I am referring to this table at the start of the report. Despite only requesting to analyse the ssvep task, it shows cells for both tasks. What is more, the numbers are only correct for the vep task, where (barring one exception) there were 66 trials per condition. In the ssvep task, there are only 44 trials per condition.