python - scikit-bio installation test failure, FAIL: _plot_box_data() should return a dictionary for Line2D's -
python - scikit-bio installation test failure, FAIL: _plot_box_data() should return a dictionary for Line2D's -
installed scikit-bio on mac, dependencies scikit-bio installed. received error below. traceback included. followed instruction on https://pypi.python.org/pypi/scikit-bio skbio test , used "conda install scikit-bio" installed without error or issue.
can help me understand having issues? give thanks
tt0463-5:~ ron$ nosetests --with-doctest skbio ............................................................................./users/ron/anaconda/lib/python2.7/site-packages/skbio/alignment/_pairwise.py:594: userwarning: make_identity_substitution_matrix deprecated , replaced, though @ time of writing new name has not been finalized. updates posted issue #161: https://github.com/biocore/scikit-bio/issues/161 warn("make_identity_substitution_matrix deprecated , " .............................................................................................../users/ron/anaconda/lib/python2.7/site-packages/numpy/core/_methods.py:59: runtimewarning: mean of empty slice. warnings.warn("mean of empty slice.", runtimewarning) eee..........................f............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... ====================================================================== error: test correctly handles coloring of box plots. ---------------------------------------------------------------------- traceback (most recent phone call last): file "/users/ron/anaconda/lib/python2.7/site-packages/skbio/draw/tests/test_distributions.py", line 492, in test_boxplots_box_colors fig = boxplots([[], [], []], box_colors=['blue', 'red', 'yellow']) file "/users/ron/anaconda/lib/python2.7/site-packages/skbio/draw/_distributions.py", line 125, in boxplots whis=whisker_length, widths=box_width) file "/users/ron/anaconda/lib/python2.7/site-packages/matplotlib/pyplot.py", line 2636, in boxplot meanprops=meanprops, manage_xticks=manage_xticks) file "/users/ron/anaconda/lib/python2.7/site-packages/matplotlib/axes/_axes.py", line 3045, in boxplot labels=labels) file "/users/ron/anaconda/lib/python2.7/site-packages/matplotlib/cbook.py", line 1965, in boxplot_stats q1, med, q3 = np.percentile(x, [25, 50, 75]) file "/users/ron/anaconda/lib/python2.7/site-packages/numpy/lib/function_base.py", line 3042, in percentile interpolation=interpolation) file "/users/ron/anaconda/lib/python2.7/site-packages/numpy/lib/function_base.py", line 2791, in _ureduce r = func(a, **kwargs) file "/users/ron/anaconda/lib/python2.7/site-packages/numpy/lib/function_base.py", line 3131, in _percentile x1 = take(ap, indices_below, axis=axis) * weights_below file "/users/ron/anaconda/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 121, in take homecoming take(indices, axis, out, mode) indexerror: cannot non-empty take empty axes. ====================================================================== error: test functions correctly empty distributions. ---------------------------------------------------------------------- traceback (most recent phone call last): file "/users/ron/anaconda/lib/python2.7/site-packages/skbio/draw/tests/test_distributions.py", line 470, in test_boxplots_empty_distributions "y-axis label") file "/users/ron/anaconda/lib/python2.7/site-packages/skbio/draw/_distributions.py", line 125, in boxplots whis=whisker_length, widths=box_width) file "/users/ron/anaconda/lib/python2.7/site-packages/matplotlib/pyplot.py", line 2636, in boxplot meanprops=meanprops, manage_xticks=manage_xticks) file "/users/ron/anaconda/lib/python2.7/site-packages/matplotlib/axes/_axes.py", line 3045, in boxplot labels=labels) file "/users/ron/anaconda/lib/python2.7/site-packages/matplotlib/cbook.py", line 1965, in boxplot_stats q1, med, q3 = np.percentile(x, [25, 50, 75]) file "/users/ron/anaconda/lib/python2.7/site-packages/numpy/lib/function_base.py", line 3042, in percentile interpolation=interpolation) file "/users/ron/anaconda/lib/python2.7/site-packages/numpy/lib/function_base.py", line 2791, in _ureduce r = func(a, **kwargs) file "/users/ron/anaconda/lib/python2.7/site-packages/numpy/lib/function_base.py", line 3131, in _percentile x1 = take(ap, indices_below, axis=axis) * weights_below file "/users/ron/anaconda/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 121, in take homecoming take(indices, axis, out, mode) indexerror: cannot non-empty take empty axes. ====================================================================== error: test correctly throws error on invalid input. ---------------------------------------------------------------------- traceback (most recent phone call last): file "/users/ron/anaconda/lib/python2.7/site-packages/skbio/draw/tests/test_distributions.py", line 514, in test_boxplots_invalid_input boxplots([[1, 2, 3], [], [4, 5, 6]], box_colors=['blue', 'red']) file "/users/ron/anaconda/lib/python2.7/site-packages/skbio/draw/_distributions.py", line 125, in boxplots whis=whisker_length, widths=box_width) file "/users/ron/anaconda/lib/python2.7/site-packages/matplotlib/pyplot.py", line 2636, in boxplot meanprops=meanprops, manage_xticks=manage_xticks) file "/users/ron/anaconda/lib/python2.7/site-packages/matplotlib/axes/_axes.py", line 3045, in boxplot labels=labels) file "/users/ron/anaconda/lib/python2.7/site-packages/matplotlib/cbook.py", line 1965, in boxplot_stats q1, med, q3 = np.percentile(x, [25, 50, 75]) file "/users/ron/anaconda/lib/python2.7/site-packages/numpy/lib/function_base.py", line 3042, in percentile interpolation=interpolation) file "/users/ron/anaconda/lib/python2.7/site-packages/numpy/lib/function_base.py", line 2791, in _ureduce r = func(a, **kwargs) file "/users/ron/anaconda/lib/python2.7/site-packages/numpy/lib/function_base.py", line 3131, in _percentile x1 = take(ap, indices_below, axis=axis) * weights_below file "/users/ron/anaconda/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 121, in take homecoming take(indices, axis, out, mode) indexerror: cannot non-empty take empty axes. ====================================================================== fail: _plot_box_data() should homecoming dictionary line2d's. ---------------------------------------------------------------------- traceback (most recent phone call last): file "/users/ron/anaconda/lib/python2.7/site-packages/skbio/draw/tests/test_distributions.py", line 245, in test_plot_box_data self.assertequal(len(result['fliers']), 2) assertionerror: 1 != 2 ---------------------------------------------------------------------- ran 857 tests in 23.956s failed (errors=3, failures=1)
python anaconda skbio
Comments
Post a Comment