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

Chuncked reads for large elements #222

Closed
parneshr opened this issue Oct 31, 2015 · 1 comment
Closed

Chuncked reads for large elements #222

parneshr opened this issue Oct 31, 2015 · 1 comment

Comments

@parneshr
Copy link

I have some dicom files with large data embedded as elements. These dicoms are exported by some scanners containing raw data. On OSX (10.6 and 10.09) I encounter an error whereby the element is not read correctly and this issue seems to be from the call to the underlying read function (returns some data plus zeros and the file pointer does not advance correctly. The data element is > 4Gb.

A work around is to read 1GB chunks instead of the full 4Gb. Happy to provide a pull request (currently working on older version of pydicom).

@mrbean-bremen
Copy link
Member

As discussed in #227, this one is obsolete and can be closed (superseded by #533 and #139).

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

3 participants