Commit Graph

76 Commits

Author SHA1 Message Date
Tony S Yu e0dafcf004 Clean up test 2014-01-14 23:27:23 -06:00
Tony S Yu 0f78de46e5 Add dynamic creation of imread_collection function 2014-01-14 23:09:26 -06:00
Tony S Yu d7cf60ef0b Attempt to fix failing test on Python 3 buildbot 2013-12-07 11:45:37 -06:00
Tony S Yu f7fa4049f5 Test null plugin 2013-12-07 10:41:03 -06:00
Tony S Yu b715b79c31 Test Image._repr_png_ 2013-12-07 10:26:56 -06:00
Tony S Yu 6a751045f1 Un-revert commits added to test Travis CI failures 2013-12-07 01:04:40 -06:00
Tony S Yu c09f1bfd32 Revert previous 3 commits to test Travis CI failures. 2013-12-07 00:01:32 -06:00
Tony S Yu 99c5ba409a Slight clean up of tests 2013-12-06 23:43:56 -06:00
Tony S Yu 0f88bed41d Remove inherited config and file-type-specific code.
This functionality needs to fleshed out a bit more. This commit can be
reverted after the initial refactor PR.
2013-12-06 22:40:25 -06:00
Tony S Yu 99aa5a8238 Move io._plugins.plugin to io.manage_plugins 2013-12-05 23:19:47 -06:00
Tony S Yu 0922ccf923 Refactor load_preferred_plugins 2013-12-05 23:19:47 -06:00
Tony S Yu ac4eb5ae7b Make preferred_plugins a dict 2013-12-05 23:19:47 -06:00
Tony S Yu 6994bc53b9 Add test for loading preferred plugins. 2013-12-05 23:19:47 -06:00
Tony S Yu 860c6b5cb5 Use InheritedConfig for plugin_store 2013-12-05 23:19:46 -06:00
Tony S Yu fabe4fa0cc Move tests to separate file. 2013-12-05 23:19:46 -06:00
Tony S Yu db45127fa9 Fix test so it doesn't have side-effects 2013-12-05 23:19:46 -06:00
Tony S Yu 318781bca1 Add test that error gets raised when no plugin available 2013-12-05 23:19:45 -06:00
Tony S Yu c820699cd8 Remove unnecessary class 2013-12-05 23:19:44 -06:00
Tony S Yu 03388d49cd Use explicit imports 2013-12-05 23:19:44 -06:00
Tony S Yu 312151b481 Move __init__ functions to submodules.
And rename functions so we don't have to alias imports.
2013-12-05 23:19:44 -06:00
JDWarner 54d7031f42 FIX: New versions of FreeImage report software as "I", not "ImageMagick ..." 2013-11-20 12:05:46 -06:00
Stefan van der Walt eb6867cfe2 Make six an external dependency. 2013-10-27 14:06:26 +02:00
cgohlke be3be537e6 TST: use BytesIO to save images into file-like object
StringIO does not work on Python 3
2013-10-10 21:22:40 -07:00
Stefan van der Walt 7df2ef1e85 Add tests for image tags. 2013-08-21 17:50:21 +02:00
Stefan van der Walt 2b0f037422 Remove Image wrapper from io. Improve tags handling. 2013-08-21 17:46:38 +02:00
Stefan van der Walt f429b5abad Ensure PIL tests run with PIL. 2013-06-29 11:01:18 -05:00
Stefan van der Walt a1adfa8d54 Correctly check for string type. 2013-06-29 10:17:41 -05:00
Tony S Yu 397e7c1ade Clean up test. 2013-06-28 16:08:11 -05:00
Adam Wisniewski 362d915399 support for saving to file-like object in imsave 2013-06-28 16:18:01 -04:00
Josh Warner (Mac) 82c987cb15 FIX: prepend np.testing. to assert_* statements
Resolve a simple namespace problem, eliminating 15 errors in
tests Travis doesn't catch because Travis doesn't build SimpleITK
2013-06-27 15:13:21 -05:00
François Boulogne 84bff08601 fix import testing 2013-06-20 23:08:39 +02:00
François Boulogne 6f6d207eb2 fix import 2013-06-20 22:53:13 +02:00
François Boulogne 5ce5f283d0 delete duplicated import 2013-06-20 22:23:04 +02:00
Zach Pincus 8b6f489bab Add multipage TIFF unittest 2013-04-18 11:08:12 -04:00
Matt McCormick ad23f203da ENH: Add SimpleITK IO plugin.
IO plugin for SimpleITK, http://simpleitk.org/

imread and imsave implemented. Tests based off the PIL tests.
2013-01-17 09:55:56 +00:00
Stefan van der Walt 98a5b2ed79 Merge pull request #368 from tonysyu/imread-url
ENH: Allow URLs in imread.
2012-12-17 12:17:50 -08:00
Tony S Yu abc1d2095f BUG: Fix file URI in test (2nd attempt) 2012-12-13 13:42:11 -05:00
Tony S Yu a6d4b6e7fa BUG: Fix file separators for windows 2012-12-12 11:06:15 -05:00
Luis Pedro Coelho 38f699471e TST Remove unneeded test
Per stefanv's comment on github, this was testing functionality higher
up in skimage.io
2012-11-24 19:04:55 +00:00
Luis Pedro Coelho 6ebc43bad8 ENH Add imread io plugin
This relies on imread (https://github.com/luispedro/imread) which
supports a few microscopy formats otherwise hard to read (LSM and
MetaMorph STK) as well as basic ones.
2012-11-24 19:04:01 +00:00
Tony S Yu 9f7a376e4d ENH: Add test and support for reading file URLs 2012-10-19 15:21:31 -04:00
cgohlke 0477c9dfeb Open image files in default binary write mode
Fixes test failure on Windows
2012-09-29 14:20:11 -07:00
Andreas Mueller 6c59e04714 MISC remove unused imports, some pep8 corrections. 2012-09-27 20:01:45 +01:00
Tony S Yu 53807d79a6 Merge pull request #233 from wilsaj:image-html-repr
Conflicts:
	skimage/io/tests/test_collection.py
2012-08-24 00:15:32 -04:00
wilsaj fabedb58ec add unit test for Image._repr_png_() with PIL plugin 2012-08-12 18:54:43 -05:00
Tony S Yu 816d6e319a Merge pull request #221 from jjhelmus/imagecollection_slicing
Fix import conflicts:
	skimage/io/collection.py
2012-08-05 17:41:29 -04:00
Jonathan Helmus 03d037d044 ImageCollection now slices like other iterables 2012-07-25 11:11:25 -04:00
tonysyu 71a518c8cf Merge pull request #226 from jni/jni-alphanumeric-sort
Sort files from a global pattern alphanumerically
2012-07-22 21:28:38 -07:00
Stefan van der Walt 37e0ce0fc8 Merge pull request #223 from jni/jni-concatenate-image-collection
ENH: Concatenate image collection.
2012-07-20 16:02:04 -07:00
Juan Nunez-Iglesias 699b5d9269 Add test coverage for alphabetic sort
alphanumeric_key should sort filenames correctly when they differ in
text, not just numbers.
2012-07-20 17:50:04 -05:00