jared %!s(int64=3) %!d(string=hai) anos
pai
achega
3953378fdc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      web/main.py

+ 1 - 1
web/main.py

@@ -56,7 +56,7 @@ def thread_function(kw):
             for elmt in s2['suggests']:
                 G.add_edge(sg,elmt,weight=1)
 
-    G.remove_nodes_from(list(nx.isolates(G)))
+#    G.remove_nodes_from(list(nx.isolates(G)))
     G.remove_edges_from( list(nx.selfloop_edges(G)))
 
 #    pickle.dump( G, open( "gs2.p", "wb" ) )