I am testing DOMINO with very small input networks and active gene lists. I get an error message:
line 36, in main_domino
G_final_modules=domino_main(active_genes_file=cur_ag, network_file=network_file, slices_file=slices_file, slice_threshold=slice_threshold, module_threshold=module_threshold)
File "/usr/local/lib/python3.7/site-packages/src/core/domino.py", line 349, in main
".")[0] + ".pkl"))
File "/usr/local/lib/python3.7/site-packages/src/core/domino.py", line 83, in prune_network_by_modularity
G_modularity = nx.algorithms.operators.union_all(G_modules)
File "/usr/local/lib/python3.7/site-packages/networkx/algorithms/operators/all.py", line 61, in union_all
raise ValueError(\'cannot apply union_all to an empty list\')
I am testing DOMINO with very small input networks and active gene lists. I get an error message:
union_allreturns the ValueError ifG_modulesis an empty list, which seems like the expected behavior for my small inputs.DOMINO/src/core/domino.py
Line 83 in 656ed19