Commit graph

593 commits

Author SHA1 Message Date
John Evans
059bee50e2 all tests passing on opensuse 2015-01-06 19:55:59 -05:00
John Evans
4ceb4dce61 pep8 work 2015-01-06 16:37:55 -05:00
John Evans
a24bff0af1 replaced main_header codestream attribute with codestream
changed "codestream" parameter of set_parseoptions to "full_codestream"
2015-01-06 16:35:38 -05:00
John Evans
fe5e784b58 get all tests passing 2015-01-06 11:00:08 -05:00
jevans
2755e8edd4 Jp2dump tests passing, more need to be written 2015-01-05 20:23:52 -05:00
John Evans
e93392a10e print the main header by default 2015-01-05 08:13:31 -05:00
John Evans
dc2b2bda15 the main header will be printed by default 2015-01-04 21:39:14 -05:00
John Evans
43da1824b6 don't error out on bad ftyp entry or colr method, closes #312 2015-01-04 20:21:33 -05:00
John Evans
80f696c600 fixed irreversible test to match upstream, closes #309 2015-01-01 15:14:54 -05:00
John Evans
3e723605b9 fix broken test due to upstream openjpeg test suite changes, closes #308
removed test_NR_broken3_jp2_dump, it is mostly just an extreme duplicate
case of test_NR_broken_jp2_dump.  It must be skipped on 32bit platforms
anyway.

refactored some NR_broken tests, consolidating them
2015-01-01 09:48:39 -05:00
John Evans
8440d69222 codestream now a property of Jp2k object, closes #275
repeated calls to get_codestream removed
2014-12-31 23:29:39 -05:00
John Evans
6f697526f2 pep8 work, closes #307 2014-12-31 22:41:02 -05:00
jevans
13cc6aa7e5 pep8 work 2014-12-23 08:59:17 -05:00
John Evans
39cc8a845a merge branch 'devel' of github.com:quintusdias/glymur into devel 2014-11-23 22:22:18 -05:00
John Evans
4527c774fa Failures on windows are due to named temp file issue, closes #306 2014-11-23 22:20:15 -05:00
jevans
c39661b586 pep8 cleanup 2014-11-21 21:53:39 -05:00
John Evans
6a59e38aed reading metadata still works if library not installed, closes #304 2014-11-21 19:32:40 -05:00
John Evans
03cb19d22b deprecated read method, removed write method, closes #299
use array-style slicing instead.  Many former read methods are now
properties.  Many former write method parameters are now moved into the
constructor.
2014-11-21 10:37:23 -05:00
jevans
7633572b49 merge branch 'devel' of https://github.com/quintusdias/glymur into devel 2014-11-05 20:35:51 -05:00
jevans
1f0d0c3786 deleted TccpInfo, TileInfoV2, CodestreamInvoV2 classes
They are used in tests, but not in top-level glymur classes.
2014-11-05 20:33:10 -05:00
John Evans
1782cb957f removed img_array from private _determine_colorspace method, closes #297 2014-10-30 11:48:20 -04:00
jevans
a713d44238 added shape attribute, closes #295 2014-10-25 11:22:19 -04:00
jevans
aef47ed318 skip test on 2.7, closes #294
assertRegex not available
2014-10-24 21:58:08 -04:00
jevans
4ffb46833f fixed printing of j2k files with "-c 0", closes #294
It's kind of meaningless to supply that option with a raw codestream,
but if it's what the user wanted to do, then it's what the user wanted
to do.
2014-10-24 21:21:54 -04:00
jevans
351ae294d6 add test for config file in current directory, closes #292 2014-10-24 20:33:01 -04:00
jevans
5c262025b3 fix test to pick up library on macports, closes #290
The environment DYLD_FALLBACK_LIBRARY_PATH helps to find macports
libraries in /opt/local/lib
2014-10-24 19:32:21 -04:00
John Evans
d36f521b61 added test for case when config dir is empty, closes #290 2014-10-24 09:48:47 -04:00
John Evans
5aac625981 added test for None usage in config file, closes #293 2014-10-23 12:21:37 -04:00
jevans
954e86a2ab added negative test for int32 imagery, closes #291 2014-10-22 20:23:45 -04:00
jevans
61cafc00b8 remove FORMAT_CORPUS tests, closes #289
We don't lose any code coverage, so it's just one less thing to worry
about.
2014-10-22 20:02:55 -04:00
John Evans
b9e44a4f8a re-enabled test_glymur_warning tests on linux/python3.3, closes #288
The origin issue was probably fixed during the whole #253, #255, #260,
2014-10-22 18:58:11 -04:00
John Evans
fc4f5cec80 add negative tests for bad precinct sizes, closes #280 2014-10-22 15:34:13 -04:00
John Evans
1c87d982f8 add negative test for writing non-uint8-uint16 images, closes #281
Improved the error message.
2014-10-22 09:44:51 -04:00
jevans
da25953de3 updated tests to run on fully loaded platform, closes #287 2014-10-21 19:43:26 -04:00
jevans
ad42363586 fix error message when no OpenJPEG library can be found, closes #284 2014-10-21 18:02:16 -04:00
jevans
3636939c12 use end_decompress when decoding a tile, closes #285
had mistakenly only been using end_decompress when decoding by area
2014-10-21 17:49:32 -04:00
jevans
ff849df520 add __str__ methods for openjp2 ctypes structures, refactored their use
The openjp2 structures are now largely maintained as weak internal-use-only
attributes where possible.  This allows us to inspect (print) them from
the command line after the fact.
2014-10-21 12:57:19 -04:00
jevans
185f4da073 fix library path issue when no configuration file exists, #265 2014-10-21 12:57:19 -04:00
jevans
5de1b8b240 remove LibraryNotFoundError, use RuntimeError instead, closes #274, #278
LibraryNotFoundError isn't needed because we already error out during
the import of glymur if neither openjpeg nor openjp2 can be found.

When read_bands is used and the library version is not at least 2.0.0,
use RuntimeError instead of LibraryNotFoundError.
2014-10-19 11:24:23 -04:00
jevans
60dcdfe9c5 refactored configuration file handling, closes #265 2014-10-18 23:59:32 -04:00
jevans
41252f54de tidied up top-level imports, closes #277 2014-10-18 23:09:15 -04:00
jevans
378cab4350 replaced windows temp file skip messages with a constant, closes #276 2014-10-18 21:41:44 -04:00
jevans
f36c169f52 raise RuntimeError if writing with library version is too early, closes #273
We still raise a LibraryNotFoundError if there's no library at all
2014-10-18 19:52:22 -04:00
jevans
b500287700 improved LibraryNotFoundError messages, docstring information, closes #270, #272 2014-10-18 10:45:07 -04:00
jevans
edde7d36b1 refactored private methods used by Jp2k write method, closes #269 2014-10-18 08:37:09 -04: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