BinPro / CONCOCT

Clustering cONtigs with COverage and ComposiTion
Other
119 stars 48 forks source link

concoct_refine fails under python3 #324

Open StickHu opened 1 year ago

StickHu commented 1 year ago

Hi, the anwser you did before failed, I still face the bug that /data/workdir/huwa/software/miniconda3/envs/concoct/lib/python3.10/site-packages/sklearn/decomposition/_pca.py:543: RuntimeWarning: invalid value encountered in divide explained_variance_ = (S**2) / (n_samples - 1) Traceback (most recent call last): File "/data/workdir/huwa/software/miniconda3/envs/concoct/bin/concoct_refine", line 82, in <module> main(args) File "/data/workdir/huwa/software/miniconda3/envs/concoct/bin/concoct_refine", line 49, in main assigns = vbgmm.fit(np.copy(transform_k,order='C'), int(NK),11, args.threads) File "c-concoct/vbgmm.pyx", line 19, in vbgmm.fit TypeError: fit() takes exactly 5 positional arguments (4 given). And I changed the seed number, buy failed again.