-
Notifications
You must be signed in to change notification settings - Fork 69
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
Error in _06_make_cov: missing in_files task-noise_proc-clean_raw.fif #1025
Comments
No this is weird... the rest and empty-room data should both be processed during the ICA application steps because you have
It sounds like you have neither of these processed fully? That's a bug and a bit confusing one at that. If you can confirm this to be the case I can see if we have a testing dataset with task, rest, and empty room (not sure if we do?) and see if I can replicate the issue. Incidentally, if you have two resting state recordings, I'm not sure if our pipeline is smart enough to process both of them yet. But it shouldn't be too difficult in principle I think to make it process more than one. A hard part might actually be getting a test dataset that is configured this way. One option would be for you to upload one subject's anonymized data to OSF.io. Then we could probably fairly easily add your dataset as a testing dataset :) Or even if you don't want to make the data public, sharing one subject's files privately somewhere would make it easy for one of us to test and fix locally. |
Yes, the empty room and rest are not processed, unless I call them explicitly by Can I help with debugging somehow? I failed finding where The data is anyway scheduled for uploading to a repository (possibly not OSF though), so I can think about doing this step ahead if that helps. |
https://openneuro.org might be a good choice 🙂 |
We recently had a seemingly similar issue where the noise covariance matrix was computed on the task data, and thus missing for resting state in the source step leading to an error. We had to rerun the noise covariance computation. In general, it is a bit confusing that the noise covariance matrix is computed in the sensor step (even though it makes from the data point of view), where the user might not have thought about what they want for the inverse. |
Good point. It was a conscious decision back then to put it into the "sensor" set of steps, but I don't think we're really using it outside of anything inverse-modeling-related, right? |
Looking at whitened evoked data and related SNR can be useful outside of source imaging contexts as well |
Good point. What do you make of the behavior described above? Bug? Or conceptual issue in the Pipeline? I have to admit I don't fully grasp it yet! |
It sounds like there are potentially multiple bugs in terms of which files we preprocess and/or which files we use to create noise covariances 😬 |
Also having the same issue, the pipeline runs fine ( I'm running pipeline version 1.9.0 for reference, with MNE 1.7.1 (1.8 and above cause issues with anonymized Helium info) |
Upon looking at the |
Thanks @berkgercek, I appreciate the effort! |
Ok, so after looking at The BIDS specification suggests that two possible routes to tagging empty-room recordings are possible:
Unless This, at least, is why I've had issues in my pipeline. For now I've solved the issue by switching to method 1, which accommodates my laziness in not maintaining the sidecar JSON. I'll create an issue in MNE-BIDS to suggest looking for same-subject/session |
I'm trying to run a simple preprocessing pipeline for 3 different runs, two resting state and one main task. However, the pipeline fails at a step where the covariance is calculated, which I set to "empty-room" (which are successfully assigned in the first step of the pipeline)
It seems like the function wants to access a file that has not (yet?) been written/computed.
Sorry for spamming so many issues, I'm really trying to get the pipeline working and mostly I can move forward by trial-and-error, but for this error I'm lost where to even begin searching.
So far the pipeline has successfully created the files for the
main
task ('sub-02_task-main_proc-clean_raw'), but therest
sessions are missing yet and not computed. Not sure if the pipeline will do that after the main is completely calculated?pipeline_config.py
The text was updated successfully, but these errors were encountered: