Skip to content

Commit 24fae18

Browse files
authored
Merge pull request #2106 from byvernault/stats_niftyseg
FIX StatsCommand
2 parents 2ee584b + 98f7351 commit 24fae18

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

nipype/interfaces/niftyseg/stats.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ class StatsCommand(NiftySegCommand):
6666
def _parse_stdout(self, stdout):
6767
out = []
6868
for string_line in stdout.split("\n"):
69-
print('parsing line {0}'.format(string_line))
7069
if string_line.startswith('#'):
7170
continue
7271
if len(string_line) <= 1:
@@ -76,8 +75,7 @@ def _parse_stdout(self, stdout):
7675
return np.array(out).squeeze()
7776

7877
def _run_interface(self, runtime):
79-
print('parsing output in run_interface')
80-
new_runtime = super(UnaryStats, self)._run_interface(runtime)
78+
new_runtime = super(StatsCommand, self)._run_interface(runtime)
8179
self.output = self._parse_stdout(new_runtime.stdout)
8280
return new_runtime
8381

0 commit comments

Comments
 (0)