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

Fix issue with loading large files #101

Merged
merged 1 commit into from
Nov 16, 2019

Conversation

addisonElliott
Copy link
Collaborator

This is the error message that would popup before this fix:

Size of the data does not equal to the product of all dimensions

Problem was that multiplying the dimensions together was overflowing the 32-bit result for larger than 4GB files.

Fixes #100

This is the error message that would popup before this fix:
Size of the data does not equal to the product of all dimensions
@codecov-io
Copy link

codecov-io commented Nov 16, 2019

Codecov Report

Merging #101 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #101   +/-   ##
=======================================
  Coverage   99.46%   99.46%           
=======================================
  Files           6        6           
  Lines         374      374           
  Branches      119      119           
=======================================
  Hits          372      372           
  Misses          1        1           
  Partials        1        1
Impacted Files Coverage Δ
nrrd/reader.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 96dd875...b9c58c4. Read the comment docs.

@addisonElliott addisonElliott merged commit 9407b01 into mhe:master Nov 16, 2019
@addisonElliott addisonElliott deleted the fix-loading-large-files branch November 16, 2019 15:23
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

Successfully merging this pull request may close these issues.

I am getting NRRDError: 'Size of the data does not equal to the product of all dimensions'
2 participants