Pep8 work.

This commit is contained in:
John Evans 2013-05-28 14:25:12 -04:00
commit beb39419a2
2 changed files with 1 additions and 3 deletions

View file

@ -472,8 +472,6 @@ class Codestream:
SPcod = f.read(n) SPcod = f.read(n)
kwargs['SPcod'] = np.frombuffer(SPcod, dtype=np.uint8) kwargs['SPcod'] = np.frombuffer(SPcod, dtype=np.uint8)
# 0:
# 1: layers
params = struct.unpack('>BHBBBBBB', SPcod[0:9]) params = struct.unpack('>BHBBBBBB', SPcod[0:9])
kwargs['_layers'] = params[1] kwargs['_layers'] = params[1]
kwargs['_numresolutions'] = params[3] kwargs['_numresolutions'] = params[3]

View file

@ -152,7 +152,7 @@ class Jp2k(Jp2kBox):
data : array data : array
Image data to be written to file. Image data to be written to file.
callbacks : bool, optional 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 produced by the OpenJPEG library are output to the console. By
default, OpenJPEG warning and error messages are captured by default, OpenJPEG warning and error messages are captured by
Python's own warning and error mechanisms. Python's own warning and error mechanisms.