Skip to content

Commit

Permalink
Update test_CBCT_Segmentation.py
Browse files Browse the repository at this point in the history
Remove Assertion error for dicom files when nifti files are inputted
  • Loading branch information
MarkGardnerUSyd committed Aug 14, 2024
1 parent 2aeeab8 commit 0eaf283
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_CBCT_Segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ def test_NiftiCBCTSegmentationGeneration():
FileName = os.path.join(OutputDir,'OutputSegmentations_Nifti',f"{CardiacSeg}.nii.gz")
assert Path(FileName).exists(),'File {} does not exist'.format(FileName)

StructFile = os.path.join(OutputDir,'OutputSegmentations_Dicom','struct.dcm')
assert Path(StructFile).exists(),'Dicom Struct File {} does not exist'.format(StructFile)
#StructFile = os.path.join(OutputDir,'OutputSegmentations_Dicom','struct.dcm')
#assert Path(StructFile).exists(),'Dicom Struct File {} does not exist'.format(StructFile)

rmtree(OutputDir)
rmtree(data_path)
Expand Down

0 comments on commit 0eaf283

Please sign in to comment.