Skip to content
Snippets Groups Projects
Commit 82b9c9fc authored by opitz's avatar opitz
Browse files

bugfic

parent 3f3bba60
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ def build_graph(years=[],include_utterances=False,subcat=False):
vs = [dh.VerdictNode(v,"verdict",subcat=maybe_subcat("verdict"),dummy=False) for v in vs]
if not vs:
logging.warning("warning no verdict found inserting dummy")
vn=dh.VerdictNode({},"",subcat=maybe_subcat("dummy"),dummy=True,text=False)
vn=dh.VerdictNode({},"",subcat=False,dummy=True)
nodeindex,vindex = gh.maybe_new_index(vn,node_index_dict)
G.add_node(vindex, label="Verdict", nodeobj=vn)
G.add_edge(trialindex,vindex,edge_class="with-verdict")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment