Hello. Got this error when trying to run humann v3.0.0:
humann_genefamilies_genus_level -i humann_genefamilies.tsv -o out_genus_genefamilies.tsv
Traceback (most recent call last):
File "/opt/conda/envs/app/bin/humann_genefamilies_genus_level", line 10, in <module>
sys.exit(main())
File "/opt/conda/envs/app/lib/python3.9/site-packages/humann/tools/genefamilies_genus_level.py", line 87, in main
create_table(args.input,args.output)
File "/opt/conda/envs/app/lib/python3.9/site-packages/humann/tools/genefamilies_genus_level.py", line 50, in create_table
for gene_taxonomy, values in genus_values.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'
Thank you for creating this issue.
We currently field issues through our bioBakery Discourse Support Forum.
If you would please post the issue to discourse we would be happy to sync up with you to get it resolved.
Hello. Got this error when trying to run humann v3.0.0:
python 3 uses
dict.items
instead ofdict.iteritems
https://github.com/biobakery/humann/blob/ac2e691d792673b56a3c2585cf43211d439d3326/humann/tools/genefamilies_genus_level.py#L50
Thanks!