<div dir="ltr">Got it. I'm all set now. Thanks much! Next beer is on me.<div><br></div><div>Just as a heads up- the 'ConfigParser' link in <a href="http://pymvpa.org/misc.html">pymvpa.org/misc.html</a> is broken. I think having a way to read up on ConfigParser could be really helpful in this situation for future newbs, like myself. Just a thought...</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 13, 2017 at 3:40 PM, Yaroslav Halchenko <span dir="ltr"><<a href="mailto:debian@onerussian.com" target="_blank">debian@onerussian.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
On Wed, 12 Apr 2017, Adam Jones wrote:<br>
<br>
</span><span class="">>Â Â Thanks for the help, it's much appreciated.<br>
>Â Â I already had -tutorialdata and -doc installed.<br>
</span>>  But as you suggest, cfg.get('location', 'tutorial data') does work within<br>
<span class="">>Â Â ipython. I can't say I understand why this is, but either way I'm still<br>
>Â Â not able to access cfg from outside of ipython.<br>
>Â Â Is it necessary to setup the config file correctly for anything other than<br>
>Â Â the tutorials? If so, any idea how I can set my config file to point to<br>
>Â Â '/home/lab/pymvpa2_tutorial/<wbr>data/' when accessed from just regular ol'<br>
>Â Â python?<br>
<br>
</span>two ways<br>
- env variable:<br>
$> MVPA_LOCATION_TUTORIAL_DATA=/<wbr>tmp/ python -c 'import mvpa2; print mvpa2.cfg.get("location", "tutorial data")'<br>
/tmp/<br>
<br>
(adjust accordingly)<br>
<br>
- modify you ~/.pymvpa2.cfg to have<br>
[location]<br>
tutorial data = /home/lab/pymvpa2_tutorial/<wbr>data/<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Yaroslav O. Halchenko<br>
Center for Open Neuroscience   <a href="http://centerforopenneuroscience.org" rel="noreferrer" target="_blank">http://<wbr>centerforopenneuroscience.org</a><br>
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755<br>
Phone: +1 (603) 646-9834Â Â Â Â Â Â Â Â Â Â Â Â Fax: +1 (603) 646-1419<br>
WWW:Â Â <a href="http://www.linkedin.com/in/yarik" rel="noreferrer" target="_blank">http://www.linkedin.com/in/<wbr>yarik</a><br>
</div></div></blockquote></div><br></div>