Commit Graph

29 Commits

Author SHA1 Message Date
Steven Silvester 782ba46a4c Handle more warnings
Punt on the issue of warnings with the minimum build

Handle warnings in measure pkg

Fix the rank filter test by forcing a random seed in the function

Compare as boolean in imread test

Import loadmat in test_setup to avoid warning

Use a setup method for imread plugin test

Revoke unintended changes

Fix indentation to appease jni

More indentation fixes

Fix unintentional comment out
2014-12-23 16:49:59 -06:00
Steven Silvester 4680f30466 Add a test setup helper function
Add a function to set up a skimage test

Switch to new test helper function

Import local packages that raise warnings in test setup function

More fixes to doctests

Fix regionprops doc test

Try and fix the test_rank failure.

Remove no longer needed RectangleSelector shim

Skip more doctests in _regionprops

Try importing another scipy subpackage
2014-12-23 16:49:20 -06:00
Steven Silvester f72882fbd2 Import scipy before turning on warnings 2014-12-23 16:49:19 -06:00
Steven Silvester 542cd4fabe Fix some doctest warnings
Fix doctest errors

Suppress warnings when importing scipy.ndimage for the first time
2014-12-23 16:49:01 -06:00
Steven Silvester 9e8f91930e Handle warnings in several packages
Start handling warnings in data, exposure, and draw

Add a known_warning decorator and suppress warnings in color pkg

Use the existing all_warnings context manager

Raise warnings in data

Raise warnings in draw

Raise warnings in exposure

Suppress warnings in exposure tests

Add comments about warning suppressions

Raise warnings in feature

Fix warnings in filter package

Add warning handling to graph

Handle warnings in io package
2014-12-23 16:47:41 -06:00
Johannes Schönberger 3a1079a180 Misc PEP8 fixes 2014-12-14 02:56:14 +01:00
Johannes Schönberger cf499bf844 Add tests for all rank filters and reformat code 2014-12-13 11:25:59 +01:00
Johannes Schönberger bbd9828234 Wrap code at 80 2014-12-06 10:19:23 -05:00
Johannes Schönberger 37560287a9 Fix rank filter kernels 2014-12-05 21:56:01 -05:00
Stefan van der Walt b9a71663af Merge pull request #1247 from emmanuelle/gallery_edges
Add a second example to the edge filtering gallery example
2014-12-03 19:28:04 +02:00
emmanuelle d78c9aab08 Completed docstrings for the different edge filters. 2014-12-01 22:22:07 +01:00
Juan Nunez-Iglesias 6c444490e3 Merge pull request #1243 from emmanuelle/filters_rank
Added an import of `median` from the `filters` module
2014-12-01 12:15:22 +11:00
Ivana Kajić 98f41fb12b More detailed docu. Modified examples.
Added doctest skipping of matplotlib's commands.
2014-11-30 18:15:27 +00:00
emmanuelle b730777a74 Modified test for median filter import 2014-11-30 14:58:10 +01:00
emmanuelle bea0c1b7d1 Added an import of median from the filters module
(it's `filters.rank.median`, but it is convenient to have the very common
median filter in `filters` as well)
2014-11-29 14:34:09 +01:00
Ivana Kajić 2c830a34e2 Updated Return section. 2014-11-28 16:09:48 +00:00
Ivana Kajić e5cd943bc3 Added examples for Gabor filters. 2014-11-28 16:09:48 +00:00
Ivana Kajić 414e9ec19c Added docu for gabor_filter. n_stds added to the parameter list. 2014-11-28 16:09:48 +00:00
Johannes Schönberger b0876ea4ea Remove deprecated absolute edge map description 2014-11-27 22:59:39 -05:00
Johannes Schönberger 7256f88332 Add missing comma 2014-11-27 12:02:30 -05:00
Johannes Schönberger c45473bdb9 Use new edge operator functions in test cases 2014-11-27 11:11:07 -05:00
Johannes Schönberger 1b0c40e27b Add signed edge operators and deprecate unsigned versions 2014-11-27 11:04:02 -05:00
Stefan van der Walt e8ee365382 Simplify warning test 2014-11-11 00:32:02 +02:00
Stefan van der Walt 046fe99e4e Make sure warning is raised upon import 2014-11-10 16:56:46 +02:00
Stefan van der Walt 3260594268 Add debug print to failing assert 2014-11-10 16:01:11 +02:00
Stefan van der Walt e03638a9d2 Filter won't be imported twice--check for its deprecation correctly 2014-11-10 13:41:26 +02:00
Stefan van der Walt 1bfb10cb88 Ensure import of old filter namespace raises warning 2014-11-10 13:16:32 +02:00
Stefan van der Walt 3ed648ea08 Fixes according to PR feedback 2014-11-10 13:16:25 +02:00
Stefan van der Walt 78a7b7307a Rename and deprecate filter module to prevent shadowing of built-in keyword 2014-11-10 12:53:50 +02:00