Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the bug of 3_Session2Png.py #4

Open
smithCoderLeo opened this issue Nov 26, 2019 · 3 comments
Open

the bug of 3_Session2Png.py #4

smithCoderLeo opened this issue Nov 26, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@smithCoderLeo
Copy link

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

@yungshenglu
Copy link
Owner

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

@yungshenglu yungshenglu added the bug Something isn't working label Nov 30, 2019
@smithCoderLeo
Copy link
Author

smithCoderLeo commented Dec 24, 2020 via email

@OStars
Copy link

OStars commented Feb 24, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants