-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Concatenate mne.Reports #12858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
No opposition in principle. In practice might be tricky because of DOM stuff, templating, and dealing with potential duplicates. But first supporting the case where there are no duplicates in the DOM IDs I think it shouldn't be too bad. |
Hey @larsoner and @sappelhoff , I was thinking about picking this up in my free time but it would help me to narrow down the functionality a bit @larsoner . |
Unfortunately that wouldn't work to concat the |
Sorry for the ambiguous language. I meant concatenating I have attached the report resulting from running |
Wouldn't it be way easier to merge/concatenate the |
@wmvanvliet That would work nicely, but I think the inquiry was regarding what to do once the reports are already saved:
|
When I first opened this issue, I actually DID save all reports in html and h5, so what @wmvanvliet suggests would have worked there, and I believe it is a nice way to deal with the issue. Potentially there is a place for both functions: concatenating the HTMLs themselves, as well as the workflow that Marijn suggested? What do you all think? |
Personally I don't feel that MNE should be doing things like munging HTML files. It feels pretty squarely out of scope for a neuroscience package. Merging report .h5 files is slightly better, but even there I'd be tempted to write a recipe for how to do it yourself, and post that as a how-to example on our doc site, rather than adding new functionality to the public API. |
If you save them as |
Describe the new feature or enhancement
I have a pipeline that creates an
mne.Report
per subject and per "run". I made up my mind "after the fact" and now want to combine the "runs" per subject in a single report.It would therefore be nice if I could simply load the reports, and concatenate them into a single report.
Describe your proposed implementation
Not sure how the specifics of this would work.
Describe possible alternatives
The alternative is, that I re-write my pipeline to write one report per subject, including all "runs", from the beginning.
Additional context
No response
The text was updated successfully, but these errors were encountered: