Commit Graph

240 Commits

Author SHA1 Message Date
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 f1dce4be9d Change plugin_store to use InheritedConfig 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 e04066de7e Change InheritedConfig so a key is contained if a parent key is contained 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 90f1e791d8 PEP8 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 86abc7c970 Factor out url handling for unified file/url behavior 2013-12-05 23:19:45 -06:00
Tony S Yu 41e62fa087 Add comment for clarification 2013-12-05 23:19:45 -06:00
Tony S Yu 8a2e88241e Factor out config-file parsing for clarity 2013-12-05 23:19:45 -06:00
Tony S Yu 77ff0615d9 Fix wrapping of plugin descriptions 2013-12-05 23:19:45 -06:00
Tony S Yu 1d39961757 Minor rename 2013-12-05 23:19:45 -06:00
Tony S Yu a23e31b553 Factor out table formatting code. 2013-12-05 23:19:45 -06:00
Tony S Yu f8ea426608 Refactor io doc building code 2013-12-05 23:19:44 -06:00
Tony S Yu 552f24be8e Remove unnecessary initialization 2013-12-05 23:19:44 -06:00
Tony S Yu c820699cd8 Remove unnecessary class 2013-12-05 23:19:44 -06:00
Tony S Yu 79587eaf48 Remove debugging statement 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
Tony S Yu b8c30bad46 Move image stack to its own module 2013-12-05 23:19:43 -06:00
JDWarner 54d7031f42 FIX: New versions of FreeImage report software as "I", not "ImageMagick ..." 2013-11-20 12:05:46 -06:00
Johannes Schönberger 3b1182cc2f Skip show commands for doc tests 2013-11-12 08:30:12 +01:00
Johannes Schönberger 2e7f14d2d0 Fix multi image doctest 2013-11-03 19:14:58 +01:00
Stefan van der Walt eb6867cfe2 Make six an external dependency. 2013-10-27 14:06:26 +02:00
Stefan van der Walt 8e763f4e48 Fix Py3 exception in GTK plugin. 2013-10-17 13:44:19 +02:00
Johannes Schönberger 394d904e17 Merge pull request #768 from cgohlke/patch-2
TST: use BytesIO to save images into file-like object
2013-10-11 08:39:23 -07: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
cgohlke ea357a4464 BUG: basestring not defined on PY3 2013-10-10 21:16:14 -07:00
François Boulogne 741d6fda95 PEP8: comparison 2013-10-02 18:14:20 +02: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
François Boulogne 3926f1873d use items/values for python2/3 compat 2013-06-20 11:16:23 +02:00
François Boulogne 7cf20736b9 workaround for itervalues 2013-06-13 13:58:21 +02:00
François Boulogne 5908542421 fix import urllib2 for python3 2013-06-13 13:26:33 +02:00
Johannes Schönberger 79a5ab0e12 Merge pull request #589 from sciunto/configparser
import configparser for python3
2013-06-12 14:27:22 -07:00
François Boulogne 9042fcd85c import configparser for python3 2013-06-12 22:34:04 +02:00
Johannes Schönberger 2ac42c4619 Merge pull request #587 from sciunto/import
MIN: fix unused import
2013-06-12 13:23:28 -07:00
François Boulogne e258e05468 MIN: fix unused import 2013-06-12 21:36:28 +02:00
François Boulogne eb9de1d7eb MIN: use print() instead of print 2013-06-12 21:16:23 +02:00
Tony S Yu 8e0bf8ab8f Fix imread from urls on some backends.
Some backends infer the image type from the extension. This fix just adds the extension to the temp filename.
2013-04-20 14:57:58 -05:00
Zach Pincus 8b6f489bab Add multipage TIFF unittest 2013-04-18 11:08:12 -04:00