Error in merge_metaphlan_tables.py

Hi there,

I am trying to merge metaphlan outputs into a table, however I’ve gotten this error.
The script that I input here was: merge_metaphlan_tables.py *.tsv > merged_abundance_table.tsv

The metaphlan version that I was using is: MetaPhlAn4
The error was as follows:
Traceback (most recent call last):
File “/home/yca231/.conda/envs/metaphlan4_CE699/bin/merge_metaphlan_tables.py”, line 10, in
sys.exit(main())
File “/home/yca231/.conda/envs/metaphlan4_CE699/lib/python3.6/site-packages/metaphlan/utils/merge_metaphlan_tables.py”, line 78, in main
merge(args.aistms, sys.stdout)
File “/home/yca231/.conda/envs/metaphlan4_CE699/lib/python3.6/site-packages/metaphlan/utils/merge_metaphlan_tables.py”, line 46, in merge
names = names,
UnboundLocalError: local variable ‘names’ referenced before assignment

I appreciate your support!
Thanks,
Yosselin