-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
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\')
union_all returns the ValueError if G_modules is an empty list, which seems like the expected behavior for my small inputs.
Line 83 in 656ed19
| G_modularity = nx.algorithms.operators.union_all(G_modules) |
Metadata
Metadata
Assignees
Labels
No labels