Openmeeg error

Hi,

I am getting the following error while trying to compute headmodel using openmeeg. How do I solve this?

I forwarded your question to the openmeeg developers.

it seems it has a problem reading a file from disk.

can you share this openmeeg_dsm.mat file to check its integrity?

thanks
Alex

Thanks Francois and Alex,

Alex, I cant find this file in the path mentioned


?

Also the directory is temporary. Do you know how to access it to get files?

Thank you

The file openmeeg_dsm.mat is created only if you do NOT select the option “Use adjoint formulation”.

Hi Francois, Alex and pmp2138,
My name is Rachel. I am working on generating the head model for sEEG electrodes. And I encountered the same problem for OpenMEEG. I do not have the openmeeg_dsm.mat, either. Did you have a solution for this? Thank you in advance.

Best wishes,
Rachel

Associated issue on github:

First of all sorry, I usually do not receive the Brainstorm forum notices so I haven’t seen them until Francois forwarded them…

[QUOTE=Francois;12052]Associated issue on github:
https://github.com/openmeeg/openmeeg/issues/179[/QUOTE]

As stated earlier, OpenMEEG reports that it does not find a file…
There are - at least - two problems :

  1. While is the file not generated (or wrongly generated). For this we need to be able to reproduce the problem. Which means get the dataset and the set of brainstorm commands that led to the message… I find strange (but not impossible) that OpenMEEG has been used properly and have not generated the file. Or maybe it generated a corrupted file. We need to understand this… and for that we need a way to reproduce the problem.

  2. There is a genuine OpenMEEG bug though. An uncaught exception is a bug. It should have been caught and we should have got a clearer message indicating explicitly which file has not been found. I do not know whether this is linked to an old version of OpenMEEG or a current bug or a architecture problem, but that needs to be solved before the new release (soon).

Hi Rachel,

Could you package an example dataset for us to test?

  1. Duplicate the subject for which you are getting this error (right-click on the subject folder > File > Duplicate subject)
  2. Delete all the files that are not necessary to reproduce the error (both in the anatomy and the functional sides of the protocol, keep only the MRI, the head surface and the cortex surface that is selected), to make the file easier to share
  3. Right-click on the subject > File > Export subject
  4. Upload the .zip somwhere (eg. dropbox) and send me link by email (click on my username on this forum)

I will repackage the data so that it can be tested easily with different versions of OpenMEEG.

Thanks
Francois