Closed GoogleCodeExporter closed 8 years ago
Can you provide an example file with no private information? I'd have to try to
see how pydicom changed the header info. Generally it does very little to an
incoming file, attempting to write it back out exactly as found.
Another thought ... since stop_before_pixels was used, maybe that has caused
problems, That's meant as a read-only tool. If you want to write a file again,
you should read the full file. Perhaps that is throwing the other program off;
maybe the message about header problems is actually misleading.
Original comment by darcymason@gmail.com
on 10 Aug 2013 at 8:19
Thanks for your reply. I will see if I can find some non-private imaging
data to send you. I also had the same thought as you about
stop_before_pixels, and will see if removing that option solves the issue.
Thanks again. Have a good weekend.
Jacob
Original comment by jacob.ia...@gmail.com
on 11 Aug 2013 at 12:15
It turns out that setting stop_before_pixels=False solves the issue. Thank
you for your help.
Original comment by jacob.ia...@gmail.com
on 12 Aug 2013 at 2:03
Issue resolved after reading full file rather than stop_before_pixels.
Original comment by darcymason@gmail.com
on 15 Sep 2013 at 10:19
Original issue reported on code.google.com by
jacob.ia...@gmail.com
on 9 Aug 2013 at 8:56