Skip to content

Commit 3afcdd3

Browse files
committed
Merge pull request #1344 from oesteban/enh/RunCheckBeforeCommit
run check-before-commit
2 parents 1a0b85a + f4149ae commit 3afcdd3

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

nipype/algorithms/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def _list_outputs(self):
341341
outputs[k] = op.abspath(getattr(self.inputs, k))
342342

343343
if isdefined(self.inputs.regress_poly):
344-
outputs['detrended_file'] = op.abspath(self.inputs.detrended_file)
344+
outputs['detrended_file'] = op.abspath(self.inputs.detrended_file)
345345
return outputs
346346

347347

nipype/algorithms/tests/test_auto_TSNR.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,24 @@
44

55

66
def test_TSNR_inputs():
7-
input_map = dict(ignore_exception=dict(nohash=True,
7+
input_map = dict(detrended_file=dict(hash_files=False,
8+
usedefault=True,
9+
),
10+
ignore_exception=dict(nohash=True,
811
usedefault=True,
912
),
1013
in_file=dict(mandatory=True,
1114
),
15+
mean_file=dict(hash_files=False,
16+
usedefault=True,
17+
),
1218
regress_poly=dict(),
19+
stddev_file=dict(hash_files=False,
20+
usedefault=True,
21+
),
22+
tsnr_file=dict(hash_files=False,
23+
usedefault=True,
24+
),
1325
)
1426
inputs = TSNR.input_spec()
1527

nipype/interfaces/tests/test_auto_DataSink.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,16 @@ def test_DataSink_inputs():
77
input_map = dict(_outputs=dict(usedefault=True,
88
),
99
base_directory=dict(),
10+
bucket=dict(mandatory=False,
11+
trait_value=True,
12+
),
1013
container=dict(),
14+
creds_path=dict(),
15+
encrypt_bucket_keys=dict(),
1116
ignore_exception=dict(nohash=True,
1217
usedefault=True,
1318
),
19+
local_copy=dict(),
1420
parameterization=dict(usedefault=True,
1521
),
1622
regexp_substitutions=dict(),

0 commit comments

Comments
 (0)