Back to the main page.

Bug 105 - Bug in ft_prepare_mesh breaks SPM8, please fix urgently

Status CLOSED FIXED
Reported 2010-07-07 13:47:00 +0200
Modified 2010-07-07 15:46:33 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P1 critical
Assigned to: Joint development user
URL:
Tags:
Depends on:
Blocks:
See also:

Vladimir Litvak - 2010-07-07 13:47:54 +0200

The was we call ft_prepare_mesh (with ready meshes) we get hasdata = 0 and then basedonseg is not defined and the code crashes on line 96.


Jan-Mathijs Schoffelen - 2010-07-07 14:14:34 +0200

Hi Vladimir, I recall a similar problem with ft_prepare_leadfield. Problems were introduced when somebody in the team built in support for cfg.inputfile/cfg.outputfile. I think I fixed it now for ft_prepare_mesh as well. Could you do a svn-update and report back whether it works? (busy at the moment with other things, so it would take me too much time to test myself)