Commit graph

549 commits

Author SHA1 Message Date
jevans
5e2bfc21ed add back read support for metadata if library not installed, 0.7.3 release 2014-11-18 20:10:20 -05:00
jevans
617b9c4f00 bumping to 0.7.2 2014-10-06 21:16:11 -04:00
jevans
4d652895bd added ellipsis support, fixed an array slicing corner case
Implemented most common ellipsis use cases.  Some refactoring.
Corner case where a single non-degenerate slice object is passed.
2014-10-06 21:09:07 -04:00
John Evans
454afec67b bumping to 0.7.1 2014-10-02 08:21:04 -04:00
jevans
6af4b7f0a7 fix merge conflict 2014-10-01 18:55:19 -04:00
jevans
074bc588a8 Merge branch 'release-0.7.0rc1'
Conflicts:
	docs/source/conf.py
	glymur/version.py
2014-10-01 18:54:53 -04:00
jevans
fc56012dce release 0.7.0 2014-10-01 18:53:46 -04:00
John Evans
0e2aa4492c housecleaning for 0.7.0 release
Add testing mention of CentOS, windows.
Skipping some tests on versions 1.3 and 1.4
Minor doc mods.
For whatever stupid reason, np.log2(x) cannot be relied upon to be an
integer when x is a power of 2 ON WIN32!!!  All hail win32!
Better error message if array-style slice other than [:]
2014-09-30 18:41:02 -04:00
jevans
f22a653110 TestParsing tearDown was not being done correctly
By just passing, the correct test state was not being restored.
2014-09-24 21:47:09 -04:00
jevans
2e55a0a8a8 pinpointed test_main_header as culprit for 3 unexplained failures 2014-09-24 20:59:39 -04:00
jevans
9bebd6438c box_id and longname are class attributes now instead of instance attributes
Some simplification of the individual box constructors, and a palette box
error message became a bit more clear because of this.
2014-09-23 20:00:47 -04:00
jevans
d2dc37bd5e fixed two bugs unknowingly introduced into cinema2k/4k testing 2014-09-22 21:15:49 -04:00
jevans
4ac5b575d2 config module refactor 2014-09-22 21:15:12 -04:00
John Evans
82466f2b80 refactor of test suite 2014-09-20 12:56:14 -04:00
John Evans
3366812936 refactor of CME testing 2014-09-19 09:17:40 -04:00
John Evans
b1cd14c6a5 __setitem__ working for writing an entire image at once 2014-09-19 08:17:15 -04:00
John Evans
a580fe5097 UTs written for __setitem__ support 2014-09-18 20:14:13 -04:00
John Evans
a6a9b5215b folded jp2dump module into command_line module 2014-09-18 19:08:14 -04:00
John Evans
2afb7590dc reorganized test infrastructure, only runs on 3.x
Three tests skipped due to unexplained failures.  Several tests had
to be skipped where the python3-six version was earlier than 1.7.0.
Tested on 32-bit Fedora, Mac 10.6, Linux Mint 32 and 64-bit, Anaconda3.
2014-09-18 18:33:34 -04:00
John Evans
6114b0f474 Merge branch 'devel' into issue261 2014-09-16 08:54:40 -04:00
John Evans
72a65943a1 Progress... 1000 lines fewer code. 2014-09-16 08:11:56 -04:00
John Evans
b5c4b98913 Added slice protocol support.
This includes 1.5.x, which means adding read area support.
2014-09-15 20:08:07 -04:00
jevans
4f5e6968bf Merge branch 'devel' of https://github.com/quintusdias/glymur into issue246 2014-09-11 20:01:35 -04:00
John Evans
cde16a062e Add six to travis harness requirements. 2014-09-11 11:47:01 -04:00
John Evans
5c7dd5ebb6 Restored set_parseoptions, get_parseoptions to glymur/__init__
Was mistakenly removed.
2014-09-11 11:37:36 -04:00
John Evans
7d9a4efdbd Rewrote jp2dump as an entry point console script.
Some printing UT refactoring was done.
2014-09-11 11:29:17 -04:00
John Evans
72093f05f8 Finesses the check of skimage.io
If on Anaconda and python3 and the scikit image version < 0.11, then
don't bother.  Otherwise, go back to prior try/except code for existance
of skimage.io and availability of freeimage backend, which fixes the
issue on Linux Mint.
2014-09-10 14:43:11 -04:00
John Evans
81c804e74c Must skip warning tests if version of six is < 1.7. 2014-09-10 11:21:48 -04:00
jevans
30219d01bf Basic functionality and UTs are in. 2014-09-08 20:10:21 -04:00
John Evans
69d3c1a846 Need to use extra care on skimage.io.plugin('freeimage'...) 2014-09-03 20:26:11 -04:00
jevans
5304734dfa Removed test_ETS_C1P0_p0_07_j2k. Closes #251
Test has always failed, so just remove it.
2014-08-28 19:45:39 -04:00
jevans
b29aaf3f19 Removed duplicated warning tests. Closes #250. 2014-08-27 20:49:59 -04:00
jevans
20d2f33cfa Skipping failing test. Closes #249
Test was failing already in openjpeg's own test suite on 1.5.2 and
2.0.0.  Best to just skip the test for those configurations.
2014-08-26 20:29:26 -04:00
John Evans
af80a9e81a Reworked warning tests, closes #245.
Using 3.x warning infrastructure to verify warnings.  Using old 2.x
infrastructure to suppress warnings when the point of the test is not
the warning itself but something else.

All tests for warnings moved into glymur.test.test_glymur_warnings.
2014-08-25 21:02:18 -04:00
jevans
925610ae3c Releasing 0.6.1.
Reverting b24ae781a6

That commit removed the capitalization, preventing it from being
uploaded to pypi.
2014-08-17 20:09:47 -04:00
jevans
f88218d482 Releasing 0.6.0
Skipping a test that segfaults only on 1.5.0 and 2.0.0.  The test was
test_NR_DEC_issue188_beach_64bitsbox_jp2_41_decode.  It was not introduced
until the 2.1.x series and the fix was backported to 2.0.1.

glymur.test.test_jp2k.TestJp2k.test_no_cxform_pclr_jpx was failing on
1.5.2 only.  It's a pretty obscure test, so just skipping it on that
release.

Some tests for warnings are being skipped.
2014-08-17 17:42:57 -04:00
jevans
5311eb731b Merge branch 'devel' of https://github.com/quintusdias/glymur into devel 2014-05-25 21:45:29 -04:00
jevans
83755cef0a Added another irreversible test to not use OPJ_TEST_SUITE. #238 2014-05-25 21:44:08 -04:00
John Evans
6adbae067b Irreversible test needed OPJ_DATA_ROOT decorator. #238 2014-05-23 06:35:53 -04:00
jevans
a719bb4ac9 Added irreversible 9-7 transform support. #238 2014-05-22 21:30:30 -04:00
jevans
5d072604f7 Refactored test_codestream into test_codestream and test_codestream_warnings #236 2014-05-21 21:04:43 -04:00
jevans
4cf9f7841e Refactored test_opj_suite.py 2014-05-18 22:01:28 -04:00
John Evans
6a7be5363b Cinema parameters were incorrectly specified for 2.0.1 #234 2014-05-12 06:34:32 -04:00
jevans
c230a9b0b2 Fixed expected warning message on 2.7. #229 2014-05-10 20:02:12 -04:00
jevans
61192b73d3 Fixed warnings. #229 2014-05-10 18:35:19 -04:00
jevans
c01774c036 Improved warning message when the tiff exif byte order is bad. #230 2014-05-10 17:39:40 -04:00
John Evans
2750aced14 Updated versioning for pending 0.6.0 release. Removed documentation cruft. 2014-05-10 16:10:58 -04:00
John Evans
0a4bb217e3 Removed two tests that we chose not to run because of stderr issues.
They produce too much output on stderr, it would make interpreting test
results difficult.
2014-05-10 16:02:35 -04:00
John Evans
bf65a00f28 Improved warning message when brand is not proper. #232 2014-05-10 15:58:57 -04:00
John Evans
a79e234f8a Removed apparently unreachable XML code for 2.6. 2014-05-10 15:54:28 -04:00