From beb39419a29a8aadb07b34ac96f7875bc5de170b Mon Sep 17 00:00:00 2001 From: John Evans Date: Tue, 28 May 2013 14:25:12 -0400 Subject: [PATCH] Pep8 work. --- glymur/codestream.py | 2 -- glymur/jp2k.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/glymur/codestream.py b/glymur/codestream.py index 506450d..f433eca 100644 --- a/glymur/codestream.py +++ b/glymur/codestream.py @@ -472,8 +472,6 @@ class Codestream: SPcod = f.read(n) kwargs['SPcod'] = np.frombuffer(SPcod, dtype=np.uint8) - # 0: - # 1: layers params = struct.unpack('>BHBBBBBB', SPcod[0:9]) kwargs['_layers'] = params[1] kwargs['_numresolutions'] = params[3] diff --git a/glymur/jp2k.py b/glymur/jp2k.py index dbfc74d..6eb23fd 100644 --- a/glymur/jp2k.py +++ b/glymur/jp2k.py @@ -152,7 +152,7 @@ class Jp2k(Jp2kBox): data : array Image data to be written to file. callbacks : bool, optional - If true, enable default info handler such that INFO messages + If true, enable default info handler such that INFO messages produced by the OpenJPEG library are output to the console. By default, OpenJPEG warning and error messages are captured by Python's own warning and error mechanisms.