USTC-TK2016 icon indicating copy to clipboard operation
USTC-TK2016 copied to clipboard

the bug of 3_Session2Png.py

Open smithCoderLeo opened this issue 5 years ago • 3 comments

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

smithCoderLeo avatar Nov 26 '19 02:11 smithCoderLeo

Hi @smithCoderLeo, could you please help to solve this issue by giving me a pull request. Thanks!!

yungshenglu avatar Nov 30 '19 15:11 yungshenglu

do you mean this problem?

[email protected]

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.

smithCoderLeo avatar Dec 24 '20 04:12 smithCoderLeo

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

OStars avatar Feb 24 '21 12:02 OStars