Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sghose@peix:~/projs/scikit-image$ make coverage
- nosetests skimage --with-coverage --cover-package=skimage
- .............................................................................................................................................EE........
- ......................................................................................................../home/sghose/projs/scikit-image/skimage/exposure/exposure.py:51: UserWarning: This might be a color image. The histogram will be computed on the flattened image. You can instead apply this function to each color channel.
- warnings.warn("This might be a color image. The histogram will be "
- .......................................................SSSS.................SSSS.....................S.......................SSSSSSSS........................................................................S.........................................................................................../home/sghose/projs/scikit-image/skimage/segmentation/random_walker_segmentation.py:384: UserWarning: pyamg (http://code.google.com/p/pyamg/)) is needed to use
- this mode, but is not installed. The 'cg' mode will be used
- instead.
- instead.""")
- ................................................................................................................................................................................................................................
- ======================================================================
- ERROR: test_rank.test_compare_with_cmorph_dilate
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
- self.test(*self.arg)
- File "/home/sghose/projs/scikit-image/skimage/filter/rank/tests/test_rank.py", line 54, in test_compare_with_cmorph_dilate
- cm = cmorph.dilate(image=image, selem=elem)
- AttributeError: 'module' object has no attribute 'dilate'
- ======================================================================
- ERROR: test_rank.test_compare_with_cmorph_erode
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
- self.test(*self.arg)
- File "/home/sghose/projs/scikit-image/skimage/filter/rank/tests/test_rank.py", line 68, in test_compare_with_cmorph_erode
- cm = cmorph.erode(image=image, selem=elem)
- AttributeError: 'module' object has no attribute 'erode'
- Name Stmts Miss Cover Missing
- -------------------------------------------------------------------------------
- skimage 45 12 73% 63-64, 69-74, 78-82, 132-133
- skimage._shared 0 0 100%
- skimage._shared.six 245 128 48% 36-42, 52, 60-62, 98-100, 105, 113-121, 197, 202-208, 212-223, 241-243, 249-251, 255-260, 263, 266, 271, 288, 292, 296, 300, 304-320, 323, 325, 329, 331, 333, 341-352, 363-364, 375-416, 423
- skimage._shared.utils 29 2 93% 46-47
- skimage.color 3 0 100%
- skimage.color.colorconv 187 0 100%
- skimage.color.colorlabel 40 1 98% 77
- skimage.color.rgb_colors 146 0 100%
- skimage.data 28 2 93% 143, 172
- skimage.draw 3 0 100%
- skimage.draw.draw 22 1 95% 63
- skimage.exposure 3 0 100%
- skimage.exposure._adapthist 136 3 98% 121, 136-138
- skimage.exposure.exposure 77 3 96% 102, 223, 266
- skimage.feature 10 0 100%
- skimage.feature._brief 44 4 91% 166-169, 206, 211
- skimage.feature._daisy 98 4 96% 100, 107-108, 110
- skimage.feature._hog 55 0 100%
- skimage.feature.corner 122 4 97% 181, 447, 449, 515
- skimage.feature.peak 46 0 100%
- skimage.feature.template 18 0 100%
- skimage.feature.texture 68 0 100%
- skimage.feature.util 8 0 100%
- skimage.filter 11 0 100%
- skimage.filter._canny 94 2 98% 156, 159
- skimage.filter._denoise 88 0 100%
- skimage.filter._gabor 27 0 100%
- skimage.filter._rank_order 14 0 100%
- skimage.filter.ctmf 34 3 91% 79-80, 100
- skimage.filter.edges 61 0 100%
- skimage.filter.lpi_filter 68 4 94% 157-159, 240
- skimage.filter.rank 4 0 100%
- skimage.filter.rank._rank 70 5 93% 665-671
- skimage.filter.rank.generic 6 0 100%
- skimage.filter.thresholding 31 1 97% 74
- skimage.graph 6 0 100%
- skimage.graph.mcp 9 1 89% 86
- skimage.graph.spath 29 0 100%
- skimage.io 47 3 94% 30, 41-42
- skimage.io._io 64 3 95% 64, 225, 248
- skimage.io._plugins 1 0 100%
- skimage.io._plugins.freeimage_plugin 388 31 92% 40-41, 66-68, 71-80, 86, 195, 206, 381, 385, 418, 427, 435, 510, 560, 569, 573, 589, 598, 626, 629-630, 637, 657, 660-662
- skimage.io._plugins.matplotlib_plugin 9 4 56% 5-7, 14
- skimage.io._plugins.pil_plugin 52 6 88% 7-8, 85, 89, 124, 128
- skimage.io._plugins.plugin 98 9 91% 60, 84, 88, 101-102, 149, 216, 241-242
- skimage.io._plugins.util 168 69 59% 12-13, 18, 21, 38, 47, 67, 78-80, 133, 178, 183-185, 188, 194-220, 224-227, 263-272, 275, 278, 281-282, 285, 300-303, 318-321, 336-338, 341-343, 346-348, 366-368, 390-392, 412-413, 433-434
- skimage.io.collection 140 23 84% 123-124, 154-162, 191, 203, 301-305, 312, 354, 381, 404, 416
- skimage.io.sift 22 2 91% 40, 56
- skimage.io.video 129 92 29% 7-12, 19-20, 35-39, 50-61, 72, 84, 96, 107, 127-142, 148-151, 157-162, 168-180, 191-194, 205, 216, 227, 238, 259-273, 284, 295, 306, 317, 328, 344-345, 361-363
- skimage.measure 7 0 100%
- skimage.measure._polygon 61 0 100%
- skimage.measure._regionprops 155 0 100%
- skimage.measure._structural_similarity 42 0 100%
- skimage.measure._sum_blocks 3 0 100%
- skimage.measure.find_contours 70 6 91% 167-174
- skimage.measure.fit 184 6 97% 90-97, 644
- skimage.morphology 10 0 100%
- skimage.morphology._skeletonize 86 0 100%
- skimage.morphology.binary 20 0 100%
- skimage.morphology.convex_hull 34 2 94% 50-51
- skimage.morphology.grey 60 16 73% 58, 111, 261, 311, 319-320, 324-325, 329-330, 334-335, 339-340, 344-345
- skimage.morphology.greyreconstruct 55 6 89% 121, 124, 128-129, 134, 138
- skimage.morphology.misc 23 1 96% 65
- skimage.morphology.selem 28 1 96% 142
- skimage.morphology.watershed 122 14 89% 132, 135, 161, 164, 168, 170, 173, 212, 223-224, 319, 372, 381, 402
- skimage.scripts 0 0 100%
- skimage.segmentation 8 0 100%
- skimage.segmentation._clear_border 19 1 95% 46
- skimage.segmentation._felzenszwalb 21 2 90% 52, 59
- skimage.segmentation._join 21 0 100%
- skimage.segmentation.boundaries 22 14 36% 10-13, 31-40, 45
- skimage.segmentation.random_walker_segmentation 163 15 91% 18-19, 22, 328, 388, 446-455
- skimage.segmentation.slic_superpixels 46 2 96% 94, 104
- skimage.transform 9 0 100%
- skimage.transform._geometric 296 18 94% 29, 45, 73, 115, 250, 253, 297, 301, 499, 503, 596, 629, 736, 819, 844, 997, 1000, 1014
- skimage.transform._warps 93 1 99% 324
- skimage.transform.finite_radon_transform 30 2 93% 56, 121
- skimage.transform.hough_transform 60 3 95% 12, 18, 26
- skimage.transform.integral 17 0 100%
- skimage.transform.pyramids 81 0 100%
- skimage.transform.radon_transform 163 12 93% 56, 162, 173, 206-209, 374, 377, 379, 385, 391, 396
- skimage.util 12 1 92% 12
- skimage.util._regular_grid 22 0 100%
- skimage.util.arraypad 384 96 75% 64, 172, 206, 243, 298, 354, 358, 362-363, 405, 409, 413-414, 419, 461, 465, 513, 517, 522, 570, 574, 578-579, 622, 626, 630-631, 636, 680, 684, 688-689, 731, 735, 739-740, 745, 797, 816-820, 838-842, 881-929, 963, 1310, 1323-1351, 1431-1447
- skimage.util.dtype 151 14 91% 127, 137-138, 160-163, 173, 214-220
- skimage.util.montage 21 0 100%
- skimage.util.noise 40 5 88% 72, 85-90
- skimage.util.shape 42 1 98% 238
- skimage.version 1 0 100%
- skimage.viewer 1 0 100%
- skimage.viewer.canvastools 3 0 100%
- skimage.viewer.canvastools.base 86 60 30% 5-6, 13, 36-51, 59-60, 64-65, 73, 76-77, 80-81, 84-85, 93-95, 102-107, 110-113, 118, 136-143, 147, 151, 155-158, 161, 164, 167, 171-176
- skimage.viewer.canvastools.linetool 108 87 19% 5-6, 40-68, 72, 76-83, 86-95, 98-101, 104-109, 112-114, 118, 153-166, 169-174, 177-180, 183-185, 188-191, 195-207
- skimage.viewer.canvastools.painttool 111 85 23% 8-9, 48-73, 77, 81-84, 88, 92-96, 100, 104-114, 117-119, 122-125, 128-130, 133-144, 147-150, 153-155, 159, 180-181, 184-190, 194-203
- skimage.viewer.canvastools.recttool 128 110 14% 3-5, 45-78, 84-88, 93-96, 101-106, 111-114, 118-131, 134-144, 147-155, 160-179, 182-197, 201, 205-214
- skimage.viewer.plugins 0 0 100%
- skimage.viewer.plugins.base 88 64 27% 83-106, 119-128, 140-151, 154-155, 165-173, 177, 184-185, 190, 199, 207, 211-218, 225-226, 229-232, 236-237
- skimage.viewer.qt 16 4 75% 9, 14-18
- skimage.viewer.qt.QtCore 16 10 38% 4, 12-22
- skimage.viewer.qt.QtGui 8 4 50% 4, 9-11
- skimage.viewer.utils 1 0 100%
- skimage.viewer.utils.core 100 65 35% 13, 17-20, 39-42, 47-52, 57-64, 77-82, 85, 108-110, 117-122, 128-133, 136-139, 144-151, 167-174, 194-206, 221-225
- skimage.viewer.utils.dialogs 22 16 27% 10-15, 20-22, 27-35
- skimage.viewer.viewers 1 0 100%
- skimage.viewer.viewers.core 179 142 21% 26-29, 74-120, 124-139, 142-153, 157-161, 164-166, 176-194, 197, 200-205, 212-214, 217, 221, 225-239, 242, 246-247, 251, 254-257, 261-266, 298-310, 319-330, 338, 341-351
- skimage.viewer.widgets 2 0 100%
- skimage.viewer.widgets.core 130 103 21% 33-37, 41-42, 45, 51-59, 63, 67, 99-165, 169-171, 175-186, 189, 192, 196-199, 203-205, 228-241, 247, 251, 255
- skimage.viewer.widgets.history 70 52 26% 24-39, 42-44, 48, 55-72, 75-82, 85-92, 96-104
- -------------------------------------------------------------------------------
- TOTAL 6855 1463 79%
- ----------------------------------------------------------------------
- Ran 776 tests in 133.739s
- FAILED (SKIP=18, errors=2)
- make: *** [coverage] Error 1
- sghose@peix:~/projs/scikit-image$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement