<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear PyFeyn,<div class=""><br class=""></div><div class="">I get an error when trying to run the first PyFeyn test file:</div><div class=""><div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(33, 33, 33);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">python pyfeyn-test1.py </span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(33, 33, 33);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/usr/local/texlive/2015/texmf-dist/tex/latex/hepnames/hepnicenames.sty</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(33, 33, 33);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Traceback (most recent call last):</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(33, 33, 33);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> File "pyfeyn-test1.py", line 26, in <module></span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(33, 33, 33);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> fd.draw("pyfeyn-test1.pdf")</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(33, 33, 33);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pyfeyn/diagrams.py", line 70, in draw</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(33, 33, 33);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> c = self.drawToCanvas()</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(33, 33, 33);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pyfeyn/diagrams.py", line 62, in drawToCanvas</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(33, 33, 33);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> obj.draw(self.currentCanvas)</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(33, 33, 33);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pyfeyn/lines.py", line 522, in draw</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(33, 33, 33);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> ass, bs, cs = para.normpath_selfintersections(mypath.normpath(), epsilon=0.01)</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(33, 33, 33);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">TypeError: normpath_selfintersections() missing 1 required positional argument: 'eps_comparepairs'</span></div></div><div class=""><br class=""></div><div class="">I am using Python3.5 installed via Macports.</div><div class="">I installed PyX and PyFeyn via pip. This worked without any error messages.</div><div class="">I tested hepnames in test file and it works fine.</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Best Regards</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Ian</div><div class=""><br class=""></div></div><div class=""><b class="">Ian C. Brock</b> <font color="#0433ff" class="">|</font> Physikalisches Institut, Universität Bonn <font color="#0433ff" class="">|</font> Nußallee 12 <font color="#0433ff" class="">|</font> D-53115 Bonn</div><div style="margin: 0px;" class="">Tel. +49 228 733616 <font color="#0433ff" class="">|</font> Email: <a href="mailto:brock@physik.uni-bonn.de" class="">brock@physik.uni-bonn.de</a></div><div style="margin: 0px;" class=""><br class=""></div></div></div></div></div></div></div></div></div></div><br class="Apple-interchange-newline">
</div>
<br class=""></div></body></html>