diff --git a/heudiconv/tests/test_dicoms.py b/heudiconv/tests/test_dicoms.py index 95ef91d6..6f833474 100644 --- a/heudiconv/tests/test_dicoms.py +++ b/heudiconv/tests/test_dicoms.py @@ -38,9 +38,12 @@ def test_embed_dicom_and_nifti_metadata(tmpdir): dcmfiles = [op.join(TESTS_DATA_PATH, 'axasc35.dcm')] infofile = 'infofile.json' + out_prefix = str(tmpdir / "nifti") # 1) nifti does not exist -- no longer supported + with pytest.raises(NotImplementedError): + embed_dicom_and_nifti_metadata(dcmfiles, out_prefix + '.nii.gz', infofile, None) + # we should produce nifti using our "standard" ways - out_prefix = str(tmpdir / "nifti") nipype_out, prov_file = nipype_convert( dcmfiles, prefix=out_prefix, with_prov=False, bids_options=None, tmpdir=str(tmpdir))