cbib / MIX

MIX: Combining multiple assemblies from NGS data
12 stars 7 forks source link

'InDegreeView' object has no attribute 'items' #3

Open cgandini opened 5 years ago

cgandini commented 5 years ago

Hi I have the following error, do yo know why?

Traceback (most recent call last): File "/home/carolina/Desktop/MIX-master/bin/Mix.py", line 958, in main() File "/home/carolina/Desktop/MIX-master/bin/Mix.py", line 708, in main processing(cleaned_alignments, ctg_adr, output_repository, ctg_threshold, aln_threshold, display_dot, display_cytoscape, contigs, contigs_included_in_other) File "/home/carolina/Desktop/MIX-master/bin/Mix.py", line 514, in processing paths = assembly_graph.select_extensions(contigs) File "/home/carolina/Desktop/MIX-master/bin/graph.py", line 286, in select_extensions mix_graph,mapping,inv_mapping = prepare_mix_graph(copy.copy(self.GRAPH)) File "/home/carolina/Desktop/MIX-master/bin/graph.py", line 527, in prepare_mix_graph inputs_nodes = [k for k,v in g_dir.in_degree().items() if v==0] AttributeError: 'InDegreeView' object has no attribute 'items'

rpucheq commented 3 years ago

I have the same error, using Python 2.7 Traceback (most recent call last): File "/home/cluster-uegf/Cdiff_Project_2021/Software/MIX-master/bin/Mix.py", line 958, in main() File "/home/cluster-uegf/Cdiff_Project_2021/Software/MIX-master/bin/Mix.py", line 708, in main processing(cleaned_alignments, ctg_adr, output_repository, ctg_threshold, aln_threshold, display_dot, display_cytoscape, contigs, contigs_included_in_other) File "/home/cluster-uegf/Cdiff_Project_2021/Software/MIX-master/bin/Mix.py", line 514, in processing paths = assembly_graph.select_extensions(contigs) File "/home/cluster-uegf/Cdiff_Project_2021/Software/MIX-master/bin/graph.py", line 286, in select_extensions mix_graph,mapping,inv_mapping = prepare_mix_graph(copy.copy(self.GRAPH)) File "/home/cluster-uegf/Cdiff_Project_2021/Software/MIX-master/bin/graph.py", line 527, in prepare_mix_graph inputs_nodes = [k for k,v in g_dir.in_degree().items() if v==0] AttributeError: 'InDegreeView' object has no attribute 'items'

panastheod commented 3 years ago

I also have the same error. Traceback (most recent call last): File "bin/Mix.py", line 958, in main() File "bin/Mix.py", line 708, in main processing(cleaned_alignments, ctg_adr, output_repository, ctg_threshold, aln_threshold, display_dot, display_cytoscape, contigs, contigs_included_in_other) File "bin/Mix.py", line 514, in processing paths = assembly_graph.select_extensions(contigs) File "/home/panas/Downloads/MIX-master/bin/graph.py", line 286, in select_extensions mix_graph,mapping,inv_mapping = prepare_mix_graph(copy.copy(self.GRAPH)) File "/home/panas/Downloads/MIX-master/bin/graph.py", line 527, in prepare_mix_graph inputs_nodes = [k for k,v in g_dir.in_degree().items() if v==0] AttributeError: 'InDegreeView' object has no attribute 'items'