Closed larsoner closed 6 months ago
Thanks @larsoner!
I think the value of the "reject" parameter should be included via upstream changes to mne.Report.add_epochs(). But we can merge here and move the feature to MNE-Python at a later time. Would be good to create an issue as a reminder
Found another bug! --no-cache
didn't work. Pushing now. Also nesting the rejection threshold stuff under the Epochs: after cleaning
section of the report. Marking for merge-when-green but let me know if you'd like me to hold off @hoechenberger !
Before merging …
docs/source/changes.md
)I went to work on #831 but wanted to sort out a few little other bugs (and one minor enhancement) first:
Fix bug where using
mf_reference_run = None
could change the empty room file matched from run-to-run ofmne_bids_pipeline
due to use ofset
, whose order is not guaranteed. @hoechenberger I suspect this could be the actual root cause of #814Output the
reject
params in the reject step -- though this can be set in the config, it's sometimes calculated on-the-fly byautoreject
and not saved anywhere. Even in the manualdict
case it's nice to have it near the drop logs in the report in case you want to think about adjusting your thresholds:Fix bug where
reject
was getting restricted incorrectly for M/EEG channelsPrefer
stat
tolstat
because I'm pretty sure we don't want to use the symlink's ownmtime
but rather themtime
of whatever it points to. (This is apparently the only difference betweenlstat
andstat
.) Doubt anyone has actually hit this so no changelog needed, but better to have it in there I think.Fix bug with
-regress
saving where instead of writing one for each run, a single filename was written to by every run (within-release change so no changelog needed).Slightly better report tags for the cleaned epochs to make it clear that what's happened is the
reject
step