Weird.  I'm curious:  Have you tried loading another, existing metric file 
before mapping (e.g., one that comes with the tutorial, or one you have mapped 
previously)?  It shouldn't matter, but I have seen other features under 
Surface: Measurements fail, if an existing surface shape file was not already 
loaded (e.g., like it needed some sort of priming column to exist).

This is not what the error implies, and it should not be necessary.  But I have 
come across this behavior myself, and I don't understand what triggers it.  I'm 
just suggesting easy things to try, in hopes that a quick-fix is found.

The only other suggestion that comes to mind is trying options similar to the 
one you want.  For example, mapping to Caret, rather than to a spec with atlas, 
may not be as easy, but it might be more reliable.  You can find the SPM target 
surface in /usr/local/caret/data_files/fmri_mapping_files/*AVG*SPM*coord.  Load 
it in caret; copy to your directory; and map directly.  Save the metric.  See 
if you can get it to work that way, because mapping to spec file writes 
directly to the metric file, while mapping to caret just stores it in memory; 
you have to explicitly file: save as metric to save the results.  More work, 
but perhaps fewer obstacles. ;-)


On Aug 31, 2013, at 8:02 AM, tony han wrote:

> Hi, I'm trying overlay t maps created by spm. I've gone through this many 
> times without error. However today I get the error: A metric file must be 
> provided for metric mapping. It's pretty weird. I search through the archive 
> and find that the only one who mentioned the same problem solved it by 
> switching to an English character set. Actually I change the setting to 
> English each time when I use Caret, or I can't even load spec files. Now I 
> succeed in loading spec files. And when I try the other option in Map Volumes 
> to Surfaces: Paint (ROI) or Probabilistic Atlas Data, it works. Could you 
> give me any suggestion on possible solution? Thanks a lot!
> 
> Tony
> _______________________________________________
> caret-users mailing list
> [email protected]
> http://brainvis.wustl.edu/mailman/listinfo/caret-users

_______________________________________________
caret-users mailing list
[email protected]
http://brainvis.wustl.edu/mailman/listinfo/caret-users

Reply via email to