Skip to content

Commit 669dbaf

Browse files
committed
Merge remote-tracking branch 'upstream/master' into fix/prov
* upstream/master: add a finally statement in _node_runner Minor typo in comment Follow upstream capitalization of MRIcron Minor typo in comment Follow upstream capitalization of MRIcron
2 parents 248e503 + 5d335cb commit 669dbaf

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

nipype/interfaces/dcm2nii.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Dcm2niiOutputSpec(TraitedSpec):
4949

5050

5151
class Dcm2nii(CommandLine):
52-
"""Uses MRICRON's dcm2nii to convert dicom files
52+
"""Uses MRIcron's dcm2nii to convert dicom files
5353
5454
Examples
5555
========
@@ -107,7 +107,7 @@ def _parse_stdout(self, stdout):
107107
if line.startswith("Saving "):
108108
out_file = line[len("Saving "):]
109109
elif line.startswith("GZip..."):
110-
# for gzipped outpus files are not absolute
110+
# for gzipped output files are not absolute
111111
fname = line[len("GZip..."):]
112112
if len(files) and os.path.basename(files[-1]) == fname[:-3]:
113113
# we are seeing a previously reported conversion

nipype/pipeline/engine/nodes.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,8 @@ def _node_runner(self, nodes, updatehash=False):
11511151
if str2bool(self.config['execution']['stop_on_first_crash']):
11521152
self._result = node.result
11531153
raise
1154-
yield i, node, err
1154+
finally:
1155+
yield i, node, err
11551156

11561157
def _collate_results(self, nodes):
11571158
self._result = InterfaceResult(interface=[], runtime=[],

0 commit comments

Comments
 (0)