USTC-TK2016
USTC-TK2016 copied to clipboard
the bug of 3_Session2Png.py
in the line 23 "fh=numpy.reshape(fh[:rnwidth])...", need to modify to "fh=numpy.reshape(fh[:int(rnwidth)])", the slice indexes need to be Integer
Hi @smithCoderLeo, could you please help to solve this issue by giving me a pull request. Thanks!!
do you mean this problem?
From: qianwang102 Date: 2020-12-24 10:26 To: yungshenglu/USTC-TK2016 CC: smithCoderLeo; Assign Subject: Re: [yungshenglu/USTC-TK2016] the bug of 3_Session2Png.py (#4) I met the same problem. How did you solve it? — You are receiving this because you were assigned. Reply to this email directly, view it on GitHub, or unsubscribe.
I met the same problem. In the line 22 rn = len(fh)/width
which should be rn = len(fh)//width
, otherwise the result would be float , not a interger