Closed tdelmont closed 7 years ago
Hi there, I have been trying to run 'anvi-compute-completeness' on anvi'o 2.4.0-master, and got this error I though I should report:
TypeError: tuple indices must be integers or slices, not str
Here is the full run and error info:
anvi-compute-completeness -c JFLX01.db --list-completeness-sources Available singlecopy sources .................: Campbell_et_al, Rinke_et_al anvi-compute-completeness -c JFLX01.db --completeness-source Campbell_et_al /groups/merenlab/virtual-envs/anvio-master/lib/python3.5/site-packages/numpy/core/fromnumeric.py:2889: RuntimeWarning: Mean of empty slice. out=out, **kwargs) /groups/merenlab/virtual-envs/anvio-master/lib/python3.5/site-packages/numpy/core/_methods.py:80: RuntimeWarning: invalid value encountered in double_scalars ret = ret.dtype.type(ret / rcount) Completeness for 192 splits (p < 1e-15) =============================================== Traceback (most recent call last): File "/groups/merenlab/virtual-envs/anvio-master/anvio/bin/anvi-compute-completeness", line 72, in <module> run.info(source, '%.2f%% complete, %.2f%% redundant' % (results[source]['percent_completion'], results[source]['percent_redundancy'])) TypeError: tuple indices must be integers or slices, not str
Best,
Tom
Clearly we forgot this in our tests. Thanks, Tom! It should be working now :)
Hi there, I have been trying to run 'anvi-compute-completeness' on anvi'o 2.4.0-master, and got this error I though I should report:
Here is the full run and error info:
Best,
Tom