<div dir="ltr"><div><div><div><div><div>Hi Johan, Bruce, <br><br></div>Thanks.  And, yes lots of the functions need a working interpreter passed in.  I'm not sure how I would do it, but it might be reasonable, and more pythonic to do<br><br></div>    session = larch.Interpreter()<br></div>    session.FeffPathGroup(..)<br></div>    session.feffit()<br><br></div>and so on.  You'd still be typing *something* a lot, but it might be easier to follow.<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 2, 2015 at 9:04 AM, Bruce Ravel <span dir="ltr"><<a href="mailto:bravel@bnl.gov" target="_blank">bravel@bnl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10/02/2015 09:58 AM, Johan Nilsson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I added the _larch argument to my feff path and parameters and the<br>
script seems to be working now, thank you for spotting that.<br>
</blockquote>
<br></span>
Yay!<br>
<br>
If you use a programmable editor, you might consider binding the<br>
insertion of "_larch=mylarch" to a keyboard shortcut.  You will find<br>
yourself typing that A LOT as you use larch in this way. :)<div class="HOEnZb"><div class="h5"><br>
<br>
B<br>
<br>
-- <br>
 Bruce Ravel  ------------------------------------ <a href="mailto:bravel@bnl.gov" target="_blank">bravel@bnl.gov</a><br>
<br>
 National Institute of Standards and Technology<br>
 Synchrotron Science Group at NSLS-II<br>
 Building 535A<br>
 Upton NY, 11973<br>
<br>
 Homepage:    <a href="http://bruceravel.github.io/home/" rel="noreferrer" target="_blank">http://bruceravel.github.io/home/</a><br>
 Software:    <a href="https://github.com/bruceravel" rel="noreferrer" target="_blank">https://github.com/bruceravel</a><br>
 Demeter:     <a href="http://bruceravel.github.io/demeter/" rel="noreferrer" target="_blank">http://bruceravel.github.io/demeter/</a><br>
_______________________________________________<br>
Ifeffit mailing list<br>
<a href="mailto:Ifeffit@millenia.cars.aps.anl.gov" target="_blank">Ifeffit@millenia.cars.aps.anl.gov</a><br>
<a href="http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit" rel="noreferrer" target="_blank">http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">--Matt Newville <newville at <a href="http://cars.uchicago.edu" target="_blank">cars.uchicago.edu</a>> 630-252-0431<br></div>
</div>