Commit Graph

320 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 6db92d387b More doctest and pil_plugin fixes
Fix Python2 imread in pil_plugin.

Load from data

Use all_warnings when importing the other packages

More fixes for regionprops doctest
2014-12-23 16:49:38 -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 2756358f3c Clean up PIL plugin and handle more warnings
Use the pil plugin to load data files

Fix install_requires string formatting

Dead end commit

Make all tools executable

Remove debug print

Suppress PIL resourcewarnings

Handle a few more warnings
2014-12-23 16:48:38 -06:00
Steven Silvester 0debedd82c Handle more warnings and reset io plugins as needed
Reset plugins prior to running collections test

Handle warnings in morphology pkg

Add __init__ for morpohology tests

Handle warnings for novice pkg

Handle warnings for restoration pkg

Handle warnings for segmentation pkg

Handle warnings for _shared pkg

Handle warnings for transform pkg

Handle warnings for util pkg

Handle warnings in viewer module
2014-12-23 16:48:16 -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
Steven Silvester 874d68ba3f # This is a combination of 7 commits.
# The first commit's message is:
Add a known_warning decorator and suppress warnings in color pkg

# This is the 2nd commit message:

Use the existing all_warnings context manager

# This is the 3rd commit message:

Raise warnings in data

# This is the 4th commit message:

Raise warnings in draw

# This is the 5th commit message:

Raise warnings in exposure

# This is the 6th commit message:

Suppress warnings in exposure tests

# This is the 7th commit message:

Add comments about warning suppressions
2014-12-23 16:46:24 -06:00
Stefan van der Walt 7f8cd65675 Fix docstring markup errors 2014-12-15 02:21:34 +02:00
Josh Warner 1213a3ea1a Merge pull request #1289 from ahojnnes/random
STY: Misc PEP8 fixes
2014-12-13 23:25:37 -06:00
Johannes Schönberger 3a1079a180 Misc PEP8 fixes 2014-12-14 02:56:14 +01:00
Steven Silvester bc78bf8544 Create a new figure for imshow if there is already data 2014-12-13 08:57:14 -06:00
Steven Silvester 2966e262a3 Fix handling of singleton frames in pil_to_ndarray 2014-12-12 09:39:08 -06:00
Steven Silvester a4a628b529 Fix file indexing in ImageCollection 2014-12-12 09:38:48 -06:00
Steven Silvester ed8524961c Reinstate run_module_suite in test_pil 2014-12-12 08:53:27 -06:00
Steven Silvester 296e492658 Fix handling of multi-image gifs and add test 2014-12-12 07:46:16 -06:00
Steven Silvester f7e984662a Fix handling of imgnum 2014-12-12 07:46:15 -06:00
Steven Silvester ad3939784c Indentation fix 2014-11-07 15:23:38 +02:00
Steven Silvester 59842b34d8 Test collection slicing with multi-images. 2014-11-07 15:22:20 +02:00
Steven Silvester b5a988a52f Close the image file pointer when done. 2014-11-07 15:22:20 +02:00
Steven Silvester 4485f6d6c1 Add tests for ImageCollection with multi_images 2014-11-07 15:22:20 +02:00
Steven Silvester b7da8009d2 Clean up docstring 2014-11-07 15:22:20 +02:00
Steven Silvester 0d76827734 Allow keyword arguments to imread 2014-11-07 15:22:20 +02:00
Steven Silvester 502f6af481 Pep8 cleanup 2014-11-07 15:22:19 +02:00
Steven Silvester 76fc909b62 Finish merging multiimage capability into collections 2014-11-07 15:22:19 +02:00
Steven Silvester b4838c3bd9 Fix failing tests 2014-11-07 15:22:19 +02:00
Steven Silvester d27fadb5cf Avoid circular import 2014-11-07 15:22:19 +02:00
Steven Silvester 305abf6d0c Change MultiImage to use new imread. 2014-11-07 15:22:19 +02:00
Steven Silvester bf9bcaaf0d Add a note about sequential access. 2014-11-07 15:22:19 +02:00
Steven Silvester 1c0d86a48d Allow PIL imread to read multiple images 2014-11-07 15:22:19 +02:00
Steven Silvester 4298b8babc Allow multiple frames in PIL data in imread 2014-11-07 15:22:19 +02:00
Steven Silvester 39d9dcf20e Fix implementation of pil_to_ndarray in MultiImage 2014-11-07 15:22:19 +02:00
Steven Silvester 93c6d010e6 Use pil_to_ndarray to load PIL images 2014-11-07 15:22:19 +02:00
Steven Silvester 9a126e7009 Add a comment about reading in order 2014-11-07 15:22:19 +02:00
Steven Silvester d853b68f96 Fix problems from rebase. 2014-11-07 15:22:19 +02:00
Steven Silvester 945e163867 Add animated gif, a test for it, and tests without conserve_memory.
Add animated gif, and a test for it, plus tests without conserve_memory

Add the gif file
2014-11-07 15:22:18 +02:00
Steven Silvester 49a92482cb Cleanup 2014-11-07 15:22:18 +02:00
Steven Silvester caaf37ec0c Fix implementation errors 2014-11-07 15:22:18 +02:00
Steven Silvester 09e6439310 Update multi_image test and install tifffile for travis. 2014-11-07 15:22:18 +02:00
Steven Silvester 732c9c37cc Add tifffile support for MultiImage 2014-11-07 15:22:18 +02:00
Steven Silvester a70a4933aa Fix implementation errors 2014-11-07 15:22:18 +02:00
Steven Silvester 0134946fc7 Update multi_image test and install tifffile for travis. 2014-11-07 15:22:18 +02:00
Steven Silvester e0e4fe26f1 Add tifffile support for MultiImage 2014-11-07 15:22:18 +02:00
Steven Silvester 6906dbc957 Use matplotlib as the default imshow 2014-11-02 07:08:43 -06:00
Steven Silvester dfffd07e4a Clean up the imports in the pil_plugin 2014-11-02 07:03:15 -06:00
Steven Silvester 91266c5702 Update tests to use default plugins. 2014-11-02 07:03:01 -06:00
Steven Silvester 21d6ef15ec Remove null plugin since we have the pil plugin as a requirement 2014-11-02 06:28:17 -06:00
Stefan van der Walt 99818f02eb Update error message for no plugins 2014-10-29 13:38:40 +02:00
Steven Silvester 7734cdf7e0 Move tifffile license description 2014-10-16 17:06:12 -05:00
Steven Silvester 268eb5f2b5 Add tifffile to a new external package. 2014-10-15 05:57:05 -05:00