FIXME: broken update tiger.py
FIXME: broken update tiger.py

~/repos/pcc-annis-merged/maz176/syntax $ ls * | parallel ~/repos/discoursegraphs/src/discoursegraphs/io/tiger.py {} /tmp/{}

Traceback (most recent call last):
  File "/home/arne/repos/discoursegraphs/src/discoursegraphs/io/tiger.py", line 326, in <module>
    tiger_docgraph = TigerDocumentGraph(tiger_filepath)
  File "/home/arne/repos/discoursegraphs/src/discoursegraphs/io/tiger.py", line 71, in __init__
    self.__add_sentence_to_document(sentence)
  File "/home/arne/repos/discoursegraphs/src/discoursegraphs/io/tiger.py", line 87, in __add_sentence_to_document
    sentence_graph = TigerSentenceGraph(sentence)
  File "/home/arne/repos/discoursegraphs/src/discoursegraphs/io/tiger.py", line 137, in __init__
    self.__tigersentence2graph(sentence)
  File "/home/arne/repos/discoursegraphs/src/discoursegraphs/io/tiger.py", line 184, in __tigersentence2graph
    layers={'tiger', 'tiger:edge'})
  File "/home/arne/anaconda/lib/python2.7/site-packages/networkx/classes/multidigraph.py", line 232, in add_edge
    attr_dict.update(attr)
  File "lxml.etree.pyx", line 2237, in lxml.etree._Attrib.update (src/lxml/lxml.etree.c:54853)
  File "apihelpers.pxi", line 520, in lxml.etree._setAttributeValue (src/lxml/lxml.etree.c:17682)
  File "apihelpers.pxi", line 1331, in lxml.etree._utf8 (src/lxml/lxml.etree.c:24677)
TypeError: Argument must be bytes or unicode, got 'set

arne-cl/discoursegraphs