[Ifeffit] Larch mback error report

Sean Fackler swfackler at lbl.gov
Wed Oct 12 19:36:07 CDT 2016


Dear Larch developers (Matt),

I believe I found an error in the mback function where I get a NameError saying the name ‘f1_chantler’ is not defined. I found that simply adding f1_chantler to the larch_plugins.xray import section in mback.py fixes the problem. I have included the modified mback.py code, my input data (SigScan226827.txt), project code (mback_test.py), and the error I received (mback_error.txt).

I am running python 2.7 with anaconda as my manager, macOS Sierra v10.12, on a mid-2015 15” MacBook pro. I hope this report is correct and helpful.

Regards,

Sean

Sean Fackler, PhD
Joint Center for Artificial Photosynthesis
Lawrence Berkeley National Lab
1 Cyclotron Rd Mail Stop 30R0205
Berkeley CA, 94720
Mobile: 609-613-8734

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20161012/7a29bc84/attachment-0005.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mback_test.py
Type: text/x-python-script
Size: 1894 bytes
Desc: not available
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20161012/7a29bc84/attachment-0002.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20161012/7a29bc84/attachment-0006.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mback.py
Type: text/x-python-script
Size: 6328 bytes
Desc: not available
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20161012/7a29bc84/attachment-0003.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20161012/7a29bc84/attachment-0007.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SigScan26827.txt
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20161012/7a29bc84/attachment-0002.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20161012/7a29bc84/attachment-0008.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mback_error.txt
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20161012/7a29bc84/attachment-0003.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20161012/7a29bc84/attachment-0009.html>


More information about the Ifeffit mailing list