Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change includes a new image type called DoseImage which then includes the scaling factor and also reduces the dimensions of dose volumes to be 3D (in case it is 4D by default).
Testing Description
The existing tests have been run and nothing breaks (except for an unrelated issue: see
unit/fileio/writing/test_dicom_series_subject_writer.py:64 (test__write_to_zip_4)
img_series_dcm = '/private/var/folders/yr/q_0gpqgs1lq_rtbttpk3n9bh0000gn/T/pytest-of-amithkamath/pytest-0/data10'
empty_folder = '/private/var/folders/yr/q_0gpqgs1lq_rtbttpk3n9bh0000gn/T/pytest-of-amithkamath/pytest-0/data11'
E FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/yr/q_0gpqgs1lq_rtbttpk3n9bh0000gn/T/pytest-of-amithkamath/pytest-0/data11/img_serie_14.dcm'
unit/fileio/writing/test_dicom_series_subject_writer.py:77: FileNotFoundError