forked from QIICR/QuantitativeReporting
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Fix and test casting of resampled label map.
Change to a vtkImageCast to simplify the setting of the resampled label type. Cleaned up the logic, removed an extraneous AddNode (the scalar volume reader adds the input node to the scene). Removed debugging print outs. Removed the try block as it was masking errors. Added two tests for the converter script, with new label map volumes that were created from the test DICOM series. The second one has a rotation applied to it to trigger the reformatting. Use sys.exit to ensure that tests will be detected as failing. Issue QIICR#42
- Loading branch information
Nicole Aucoin
committed
Mar 25, 2015
1 parent
6810cd7
commit 3b8c582
Showing
6 changed files
with
144 additions
and
100 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
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
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
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
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