baryon

[1]:
from pyfeyn2.render.all import AllRender
ar = AllRender().demo_propagator("baryon")
tikz:
../../../_images/feynml_attributes_type_baryon_1_1.png
pyx:
pyx failed:
Traceback (most recent call last):
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/all.py", line 109, in render
    render(fd).render(dirpath + "/" + name + ".pdf", **dynarg)
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/pyx/pyxrender.py", line 66, in render
    nl = NamedLine[lname](Point(src.x, src.y), Point(tar.x, tar.y))
         ~~~~~~~~~^^^^^^^
KeyError: 'baryon'

feynmp:
feynmp failed:
Traceback (most recent call last):
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/all.py", line 109, in render
    render(fd).render(dirpath + "/" + name + ".pdf", **dynarg)
    ^^^^^^^^^^
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/latex/feynmp.py", line 181, in __init__
    self.set_feynman_diagram(fd)
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/latex/feynmp.py", line 185, in set_feynman_diagram
    self.set_src_diag(NoEscape(feynman_to_feynmp(fd)))
                               ^^^^^^^^^^^^^^^^^^^^^
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/latex/feynmp.py", line 139, in feynman_to_feynmp
    tttype = type_map[pstyle.getProperty("line").value]
             ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'baryon'

feynman:
feynman failed:
Traceback (most recent call last):
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/all.py", line 109, in render
    render(fd).render(dirpath + "/" + name + ".pdf", **dynarg)
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/mpl/feynmanrender.py", line 169, in render
    for style in get_styled_lines(self.fd, p):
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/mpl/feynmanrender.py", line 40, in get_styled_lines
    for i in namedlines[lname]:
             ~~~~~~~~~~^^^^^^^
KeyError: 'baryon'

dot:
dot failed:
Traceback (most recent call last):
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/all.py", line 109, in render
    render(fd).render(dirpath + "/" + name + ".pdf", **dynarg)
    ^^^^^^^^^^
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/latex/dot.py", line 80, in __init__
    self.set_feynman_diagram(fd)
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/latex/dot.py", line 84, in set_feynman_diagram
    self.src_dot = feynman_to_dot(
                   ^^^^^^^^^^^^^^^
  File "/home/apn/git/pyfeyn2/pyfeyn2/interface/dot.py", line 61, in feynman_to_dot
    thestyle = styler(fd, p)
               ^^^^^^^^^^^^^
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/latex/dot.py", line 40, in stylize_connect
    style = 'style="{}",texmode="raw"'.format(map_feyn_to_tikz[lname])
                                              ~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'baryon'

asciipdf:
asciipdf failed:
Traceback (most recent call last):
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/all.py", line 109, in render
    render(fd).render(dirpath + "/" + name + ".pdf", **dynarg)
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/text/asciipdf.py", line 25, in render
    ASCIIRender.render(
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/text/ascii.py", line 244, in render
    self.draw_connector(pane, p, src, tar, fmt)
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/text/ascii.py", line 198, in draw_connector
    self.namedlines[lname]().draw(pane, src, tar, **fmt, **tmp_fmt)
    ~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'baryon'

unicodepdf:
unicodepdf failed:
Traceback (most recent call last):
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/all.py", line 109, in render
    render(fd).render(dirpath + "/" + name + ".pdf", **dynarg)
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/text/unicodepdf.py", line 64, in render
    UnicodeRender.render(
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/text/ascii.py", line 244, in render
    self.draw_connector(pane, p, src, tar, fmt)
  File "/home/apn/git/pyfeyn2/pyfeyn2/render/text/ascii.py", line 198, in draw_connector
    self.namedlines[lname]().draw(pane, src, tar, **fmt, **tmp_fmt)
    ~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'baryon'

../../../_images/feynml_attributes_type_baryon_1_3.png
[ ]: