Conform to pep8 --ignore=E501
This commit is contained in:
@@ -24,7 +24,7 @@ def readDMP(filename):
|
||||
# 3 unsigned 16bit integers specifying the image dimensions, followed by a
|
||||
# stream of 32-bit floats in little-endian byte order. It's first two
|
||||
# values are the image size.
|
||||
# Load Header.
|
||||
# Load Header.
|
||||
header = numpy.fromfile(dmpfile, numpy.int16, 3)
|
||||
imageSize = (header[1], header[0])
|
||||
# Load the whole file and reshape to the size given in the header
|
||||
@@ -71,5 +71,5 @@ if __name__ == "__main__":
|
||||
plt.title('Some random image')
|
||||
|
||||
plt.show()
|
||||
|
||||
|
||||
print 'Now open randomimage.DMP in Fiji!'
|
||||
|
||||
Reference in New Issue
Block a user