forked from pydicom/pydicom
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated pixel_data_handlers.util.get_expected_length() - Accounts for predicted number of frames if the tag NumberOfFrames is not defined and the rows/columns reflect the size of a single frame in a multiframe DICOM slice. - Does not remove previous behavior of defaulting to 1 frame if NumberOfFrames is defined as None. - Refactored variable naming to reflect when computing pixels vs. bytes for the expected length. - closes pydicom#2035
- Loading branch information
1 parent
9f978a9
commit 5dc2859
Showing
1 changed file
with
18 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters