Skip to content

Commit 58dddfd

Browse files
author
Shoshana Berleant
committed
Revert "minor improvements to error reporting"
discussion with Chris re: better solution
1 parent ac0c5ef commit 58dddfd

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

nipype/algorithms/rapidart.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -362,10 +362,7 @@ def _detect_outliers_core(self, imgfile, motionfile, runidx, cwd=None):
362362
nim = funcs.concat_images(images)
363363

364364
# compute global intensity signal
365-
try:
366-
(x, y, z, timepoints) = nim.shape
367-
except ValueError as ve:
368-
raise NipypeInterfaceError(ve, 'Check dimensions of input image; 4-D input required.')
365+
(x, y, z, timepoints) = nim.shape
369366

370367
data = nim.get_data()
371368
affine = nim.affine

nipype/interfaces/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ def run(self, **inputs):
10561056

10571057
if config.has_option('logging', 'interface_level') and \
10581058
config.get('logging', 'interface_level').lower() == 'debug':
1059-
inputs_str = "\nInputs:" + str(self.inputs) + "\n"
1059+
inputs_str = "Inputs:" + str(self.inputs) + "\n"
10601060
else:
10611061
inputs_str = ''
10621062

0 commit comments

Comments
 (0)