Hi
I am getting the following error and was wondering if you could advice me what might be causing it. As I can see it has been able to predict number of bins and a bin_quality_summary.tsv. Any advice would be much appreciated.
Traceback (most recent call last):
File "main.py", line 369, in <module>
main()
File "main.py", line 365, in main
run_get_final_result(logger, args, seed_num, num_threads, ignore_kmeans_res=True)
File "/appscratch/miniforge/hraaxt_comebin/bin/COMEBin/get_final_result.py", line 232, in run_get_final_result
best_method = estimate_bins_quality_nobins(bac_mg_table, ar_mg_table, args.output_path + '/cluster_res/',ignore_kmeans_res=ignore_kmeans_res)
File "/appscratch/miniforge/hraaxt_comebin/bin/COMEBin/get_final_result.py", line 190, in estimate_bins_quality_nobins
bin_quality_dict, best_method = get_bin_quality(orig_bins, methods_sorted, markers)
File "/appscratch/miniforge/hraaxt_comebin/bin/COMEBin/get_final_result.py", line 90, in get_bin_quality
sum_max = max(sum_list)
ValueError: max() arg is an empty sequence
comebin.log
2025-09-16 13:18:19,153 - train
2025-09-16 13:18:19,191 - Generate features for the data.
2025-09-17 01:15:32,809 - Finish training.
2025-09-17 01:15:54,380 - bin
2025-09-17 01:15:54,503 - Start clustering.
2025-09-17 01:16:49,033 - N50: 1829
2025-09-17 01:16:50,599 - Run weighted seed k-means for obtaining the SCG information of the contigs within a manageable time during the final step.
2025-09-17 01:16:50,599 - Bin_numbers: [252]
2025-09-17 01:16:50,599 - 252
2025-09-17 02:41:17,230 - Running weighted seed-kmeans cost: 5062.88126707077s.
2025-09-17 02:45:09,880 - Time cost: 232.63738560676575s
2025-09-17 02:49:14,550 - knn query time cost: 206.69579339027405s
2025-09-17 03:02:57,991 - multiprocess Done
2025-09-17 03:03:24,527 - get_result
2025-09-17 03:03:25,150 - Seed_num: 252
2025-09-17 03:03:25,150 - Run unitem profile: 252
Hi
I am getting the following error and was wondering if you could advice me what might be causing it. As I can see it has been able to predict number of bins and a bin_quality_summary.tsv. Any advice would be much appreciated.
comebin.log