File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ def read_mat_bin(fname):
8080 #print(kbin_header)
8181 tmp = numpy .fromfile (f , dtype = 'float32' )
8282 #print 'array = {}'.format(len(tmp))
83- f .close
83+ f .close ()
8484 shape = (kbin_header ['height' ], kbin_header ['width' ])
8585 return (tmp .reshape (shape ), kbin_header )
8686
@@ -211,7 +211,7 @@ def read_mat_cplx_bin(fname):
211211 shape = (kcplx_header ['height' ], kcplx_header ['width' ])
212212 #print kcplx_header
213213 tmp = numpy .fromfile (f , dtype = 'float32' )
214- f .close
214+ f .close ()
215215 real_tmp = (tmp [0 :kcplx_header ['height' ]* kcplx_header ['width' ]]).reshape (shape )
216216 imag_tmp = (tmp [kcplx_header ['height' ]* kcplx_header ['width' ]:]).reshape (shape )
217217 #print tmp
Original file line number Diff line number Diff line change 55
66setuptools .setup (
77 name = "pyKoalaUtils" , # Replace with your own username
8- version = "0.0.2 " ,
8+ version = "0.0.3 " ,
99 author = "Jerome Parent" ,
1010 author_email = "jerome.parent@lyncetec.com" ,
1111 description = "Utility to open LynceeTec Koala bin files" ,
You can’t perform that action at this time.
0 commit comments