FDSRashid commited on
Commit
f57ee90
·
verified ·
1 Parent(s): 46e1655

bug catching

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -351,7 +351,7 @@ def visualize_narrator_taraf(taraf_num, narrator, yaxis):
351
  for node in (n for n, d in G1.out_degree() if d == 0):
352
  end_node.setdefault(node, []).append(str(idx))
353
 
354
- isnad_hadith = isnad_info.iloc[lookup_hadith(matns_with_narrator, HADITH_LOOKUP)][['Source', 'Destination']]
355
  G = nx.from_pandas_edgelist(isnad_hadith, source = 'Source', target = 'Destination', create_using = nx.DiGraph())
356
  isnad_pos = nx.nx_agraph.graphviz_layout(G, prog='dot')
357
 
 
351
  for node in (n for n, d in G1.out_degree() if d == 0):
352
  end_node.setdefault(node, []).append(str(idx))
353
 
354
+ isnad_hadith = isnad_info.iloc[lookup_hadith(matns_with_narrator, HADITH_LOOKUP)]
355
  G = nx.from_pandas_edgelist(isnad_hadith, source = 'Source', target = 'Destination', create_using = nx.DiGraph())
356
  isnad_pos = nx.nx_agraph.graphviz_layout(G, prog='dot')
357