# plot\_label\_from\_stc.py: Exception: The source space	does not appear to be an ico surface

**URL:** <https://mne.discourse.group/t/plot-label-from-stc-py-exception-the-source-space-does-not-appear-to-be-an-ico-surface/647>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [January 5, 2014, 1:09pm UTC](https://mne.discourse.group/t/plot-label-from-stc-py-exception-the-source-space-does-not-appear-to-be-an-ico-surface/647 "2014-01-05T13:09:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [January 5, 2014, 1:09pm UTC](https://mne.discourse.group/t/plot-label-from-stc-py-exception-the-source-space-does-not-appear-to-be-an-ico-surface/647/1 "2014-01-05T13:09:19Z")

</div>

Hi all

I have been trying to run portions of the code contained in the example "plot\_label\_from\_stc.py" going through line by line thing are well until this command:

func\_labels, \_ = mne.stc\_to\_label(stc\_mean\_label, src=src, smooth=5,  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;subjects\_dir=subjects\_dir, connected=True)

at this point i get the following output errors:

Reading labels from parcellation..  
Triangle file: created by neuromag on Wed Feb 20 19:45:05 2013 nvert = 136162 ntri = 272320  
&nbsp;&nbsp;read 34 labels from /mnt/thothdisk1/K\_AWARD/K\_DATA/MEG\_DATA/L7689/label/lh.aparc.annot  
Triangle file: created by neuromag on Wed Feb 20 22:57:01 2013 nvert = 138400 ntri = 276796  
&nbsp;&nbsp;read 34 labels from /mnt/thothdisk1/K\_AWARD/K\_DATA/MEG\_DATA/L7689/label/rh.aparc.annot  
[done]
