We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 681d69c commit e28cd05Copy full SHA for e28cd05
nipype/interfaces/tests/test_extra_dcm2nii.py
@@ -41,17 +41,15 @@ def assert_dwi(eg, bids):
41
# ensure all outputs are of equal lengths
42
assert len(set(map(len, outputs))) == 1
43
else:
44
- assert not eg2.outputs.bids
+ assert not eg.outputs.bids
45
46
dcm = Dcm2niix()
47
dcm.inputs.source_dir = datadir
48
dcm.inputs.out_filename = '%u%z'
49
- eg1 = dcm.run()
50
- assert_dwi(eg1, True)
+ assert_dwi(dcm.run(), True)
51
52
# now run specifying output directory and removing BIDS option
53
outdir = tmpdir.mkdir('conversion').strpath
54
dcm.inputs.output_dir = outdir
55
dcm.inputs.bids_format = False
56
- eg2 = dcm.run()
57
- assert_dwi(eg2, False)
+ assert_dwi(dcm.run(), False)
0 commit comments