def test_is_singleframe_4d(self): assert not convert_philips._is_singleframe_4d(read_dicom_directory(test_data.PHILIPS_ENHANCED_DTI)) assert convert_philips._is_singleframe_4d(read_dicom_directory(test_data.PHILIPS_DTI)) assert not convert_philips._is_singleframe_4d(read_dicom_directory(test_data.PHILIPS_ENHANCED_ANATOMICAL)) assert not convert_philips._is_singleframe_4d(read_dicom_directory(test_data.PHILIPS_ANATOMICAL)) assert not convert_philips._is_singleframe_4d(read_dicom_directory(test_data.PHILIPS_ENHANCED_FMRI)) assert convert_philips._is_singleframe_4d(read_dicom_directory(test_data.PHILIPS_FMRI))
def test_is_singleframe_4d(self): assert not convert_philips._is_singleframe_4d( read_dicom_directory(test_data.PHILIPS_ENHANCED_DTI)) assert convert_philips._is_singleframe_4d( read_dicom_directory(test_data.PHILIPS_DTI)) assert not convert_philips._is_singleframe_4d( read_dicom_directory(test_data.PHILIPS_ENHANCED_ANATOMICAL)) assert not convert_philips._is_singleframe_4d( read_dicom_directory(test_data.PHILIPS_ANATOMICAL)) assert not convert_philips._is_singleframe_4d( read_dicom_directory(test_data.PHILIPS_ENHANCED_FMRI)) assert convert_philips._is_singleframe_4d( read_dicom_directory(test_data.PHILIPS_FMRI))