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

Non-square samples will not run #8

Open
Razaziel opened this issue Aug 21, 2020 · 0 comments
Open

Non-square samples will not run #8

Razaziel opened this issue Aug 21, 2020 · 0 comments

Comments

@Razaziel
Copy link

nanoscope.py, line 137, in _read_image_data
raw_data = (np.frombuffer(file_object.read(data_size * number_points),
ValueError: buffer is smaller than requested size

Works with Nanoscope files that are perfectly square sized, but anything with unequal lines and samples per line does not work as the buffer is not set up right. If there is any insight into fixing this that would be fantastic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant